async::Executor

Summary

Inheritance

Inherits from: fpromise::executor

Constructors and Destructors

Executor(async_dispatcher_t *dispatcher)
Executor(const Executor &)
Executor(Executor &&)
~Executor()

Public functions

MakeDelayedPromise(zx::duration duration)
MakePromiseForTime(zx::time deadline)
MakePromiseWaitHandle(zx::unowned_handle object, zx_signals_t trigger, uint32_t options)
dispatcher() const
async_dispatcher_t *
operator=(const Executor &)=delete
operator=(Executor &&)=delete
schedule_task(fpromise::pending_task task) override
virtual void

Public functions

Executor

 Executor(
  async_dispatcher_t *dispatcher
)

Executor

 Executor(
  const Executor &
)=delete

Executor

 Executor(
  Executor &&
)=delete

MakeDelayedPromise

fpromise::promise MakeDelayedPromise(
  zx::duration duration
)

MakePromiseForTime

fpromise::promise MakePromiseForTime(
  zx::time deadline
)

MakePromiseWaitHandle

fpromise::promise< zx_packet_signal_t, zx_status_t > MakePromiseWaitHandle(
  zx::unowned_handle object,
  zx_signals_t trigger,
  uint32_t options
)

dispatcher

async_dispatcher_t * dispatcher() const 

operator=

Executor & operator=(
  const Executor &
)=delete

operator=

Executor & operator=(
  Executor &&
)=delete

schedule_task

virtual void schedule_task(
  fpromise::pending_task task
) override

~Executor

 ~Executor() override