fpromise
Summary
Functions
|
bridge(typename Tag::__allow_ctad...) -> bridge< Tag...>
|
|
error(E error)
|
|
error()
|
|
join_promise_vector(std::vector< fpromise::promise< V, E >> promises)
|
|
join_promises(Promises... promises)
|
promise_impl<::fpromise::internal::join_continuation< Promises...> >
|
make_error_promise(E error)
|
promise_impl<::fpromise::internal::result_continuation< void, E > >
|
make_error_promise()
|
promise_impl<::fpromise::internal::result_continuation< void, void > >
|
make_future(Promise promise)
|
|
make_ok_promise(V value)
|
promise_impl<::fpromise::internal::result_continuation< V, void > >
|
make_ok_promise()
|
promise_impl<::fpromise::internal::result_continuation< void, void > >
|
make_promise(PromiseHandler handler)
|
promise_impl<::fpromise::internal::context_handler_invoker< PromiseHandler > >
|
make_promise(PromiseHandler handler)
|
promise_impl<::fpromise::internal::promise_continuation< PromiseHandler > >
|
make_promise_with_continuation(Continuation continuation)
|
|
make_result_promise(fpromise::result< V, E > result)
|
promise_impl<::fpromise::internal::result_continuation< V, E > >
|
make_result_promise(fpromise::ok_result< V > result)
|
promise_impl<::fpromise::internal::result_continuation< V, E > >
|
make_result_promise(fpromise::error_result< E > result)
|
promise_impl<::fpromise::internal::result_continuation< V, E > >
|
make_result_promise(fpromise::pending_result result)
|
promise_impl<::fpromise::internal::result_continuation< V, E > >
|
ok(V value)
|
|
ok()
|
|
operator!=(const promise_impl< Continuation > & f, decltype(nullptr))
|
bool
|
operator!=(decltype(nullptr), const promise_impl< Continuation > & f)
|
bool
|
operator!=(const future_impl< Promise > & f, decltype(nullptr))
|
bool
|
operator!=(decltype(nullptr), const future_impl< Promise > & f)
|
bool
|
operator==(const promise_impl< Continuation > & f, decltype(nullptr))
|
bool
|
operator==(decltype(nullptr), const promise_impl< Continuation > & f)
|
bool
|
operator==(const future_impl< Promise > & f, decltype(nullptr))
|
bool
|
operator==(decltype(nullptr), const future_impl< Promise > & f)
|
bool
|
pending()
|
|
run_single_threaded(promise_impl< Continuation > promise)
|
|
schedule_for_consumer(fpromise::executor *executor, Promise promise)
|
consumer< typename Promise::value_type, typename Promise::error_type >
|
swap(promise_impl< Continuation > & a, promise_impl< Continuation > & b)
|
void
|
swap(future_impl< Promise > & a, future_impl< Promise > & b)
|
void
|
swap(suspended_task & a, suspended_task & b)
|
void
|
swap(result< V, E > & a, result< V, E > & b)
|
void
|
Enumerations
future_state
future_state
Properties |
empty
|
|
error
|
|
ok
|
|
pending
|
|
result_state
result_state
Properties |
error
|
|
ok
|
|
pending
|
|
Typedefs
Functions
bridge
bridge(
typename Tag::__allow_ctad...
) -> bridge< Tag...>
join_promises
promise_impl<::fpromise::internal::join_continuation< Promises...> > join_promises(
Promises... promises
)
make_error_promise
promise_impl<::fpromise::internal::result_continuation< void, E > > make_error_promise(
E error
)
make_error_promise
promise_impl<::fpromise::internal::result_continuation< void, void > > make_error_promise()
make_future
future_impl< Promise > make_future(
Promise promise
)
make_ok_promise
promise_impl<::fpromise::internal::result_continuation< V, void > > make_ok_promise(
V value
)
make_ok_promise
promise_impl<::fpromise::internal::result_continuation< void, void > > make_ok_promise()
make_promise
promise_impl<::fpromise::internal::context_handler_invoker< PromiseHandler > > make_promise(
PromiseHandler handler
)
make_promise
promise_impl<::fpromise::internal::promise_continuation< PromiseHandler > > make_promise(
PromiseHandler handler
)
make_promise_with_continuation
promise_impl< Continuation > make_promise_with_continuation(
Continuation continuation
)
operator!=
bool operator!=(
const promise_impl< Continuation > & f,
decltype(nullptr)
)
operator!=
bool operator!=(
decltype(nullptr),
const promise_impl< Continuation > & f
)
operator!=
bool operator!=(
const future_impl< Promise > & f,
decltype(nullptr)
)
operator!=
bool operator!=(
decltype(nullptr),
const future_impl< Promise > & f
)
operator==
bool operator==(
const promise_impl< Continuation > & f,
decltype(nullptr)
)
operator==
bool operator==(
decltype(nullptr),
const promise_impl< Continuation > & f
)
operator==
bool operator==(
const future_impl< Promise > & f,
decltype(nullptr)
)
operator==
bool operator==(
decltype(nullptr),
const future_impl< Promise > & f
)
run_single_threaded
promise_impl< Continuation >::result_type run_single_threaded(
promise_impl< Continuation > promise
)
schedule_for_consumer
consumer< typename Promise::value_type, typename Promise::error_type > schedule_for_consumer(
fpromise::executor *executor,
Promise promise
)