template <typename Handler, typename DefaultV, typename DefaultE, size_t num_args>
class context_adapter
Defined at line 348 of file ../../sdk/lib/fit-promise/include/lib/fpromise/promise_internal.h
Supports handlers with a context argument.
Public Members
static const size_t next_arg_index
Public Methods
void context_adapter<Handler, DefaultV, DefaultE, num_args, 1> (Handler handler)
Defined at line 362 of file ../../sdk/lib/fit-promise/include/lib/fpromise/promise_internal.h
template <typename... Args>
result_type call (::fpromise::context & context, Args... args)
Defined at line 365 of file ../../sdk/lib/fit-promise/include/lib/fpromise/promise_internal.h