template<>
callback<void> struct
a movable noncopyable unique_function invoked to signal completion
Contents
- Reference
arkio callbacks are function2::unique_function, which is just like std::function but movable and non-copyable. So, it is safe to move capture values, and use the async io operation to prolong their lifetime inside async_context.
ahout function2 : https:/
Public types
- using ret_type = void