fpromise::consumer

Summary

Constructors and Destructors

consumer()
consumer(consumer && other)
consumer(const consumer & other)
~consumer()

Public types

error_type using
E
result_type using
::fpromise::result< V, E >
value_type using
V

Public functions

cancel()
void
operator bool() const
operator=(consumer && other)=default
operator=(const consumer & other)=delete
promise()
promise_impl< typename bridge_state::promise_continuation >
promise_or(result_type result_if_abandoned)
promise_impl< typename bridge_state::promise_continuation >
was_abandoned() const
bool

Public types

error_type

E error_type

result_type

::fpromise::result< V, E > result_type

value_type

V value_type

Public functions

cancel

void cancel()

consumer

 consumer()=default

consumer

 consumer(
  consumer && other
)=default

consumer

 consumer(
  const consumer & other
)=delete

operator bool

 operator bool() const 

operator=

consumer & operator=(
  consumer && other
)=default

operator=

consumer & operator=(
  const consumer & other
)=delete

promise

promise_impl< typename bridge_state::promise_continuation > promise()

promise_or

promise_impl< typename bridge_state::promise_continuation > promise_or(
  result_type result_if_abandoned
)

was_abandoned

bool was_abandoned() const 

~consumer

 ~consumer()=default