template<>
ark::callback<void> struct

a movable noncopyable unique_function invoked to signal completion

Contents

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://github.com/Naios/function2 the document for unique_function is inside readme

Public types

using ret_type = void