async_patterns::TaskScope

Summary

Constructors and Destructors

TaskScope(async_dispatcher_t *dispatcher)
~TaskScope()

Public functions

Post(Closure && handler)
require_nullary_fn< Closure >
PostDelayed(Closure && handler, zx::duration delay)
require_nullary_fn< Closure >
PostForTime(Closure && handler, zx::time deadline)
require_nullary_fn< Closure >

Public functions

Post

require_nullary_fn< Closure > Post(
  Closure && handler
)

PostDelayed

require_nullary_fn< Closure > PostDelayed(
  Closure && handler,
  zx::duration delay
)

PostForTime

require_nullary_fn< Closure > PostForTime(
  Closure && handler,
  zx::time deadline
)

TaskScope

 TaskScope(
  async_dispatcher_t *dispatcher
)

~TaskScope

 ~TaskScope()