11 template<
typename Ctx,
typename Res>
18 template<
typename Ctx,
typename Res>
19 std::unique_ptr<AsyncCallback<Ctx, Res>>
23 return std::unique_ptr<AsyncCallback<Ctx, Res>>(callback_ptr);
std::unique_ptr< AsyncCallback< Ctx, Res > > get_async_callback(void *p)
Definition: callback.hpp:20
PushCallback< Ctx, Res > * get_push_callback(void *p)
Definition: callback.hpp:13
Definition: async_result.hpp:7
std::function< void(AsyncResult< Ctx, T >)> AsyncCallback
Definition: async_result.hpp:39
std::function< void(PushEvent< Ctx, T >)> PushCallback
Definition: push.hpp:27