WaitHandle

A low-level, single-subscriber command wait resource.

Callers that create a handle through WaitCoordinator own its lifetime and must eventually terminate it through a final signal, error, or cancel. cancel must be idempotent and safe to invoke after another terminal signal.

Inheritors

Properties

Link copied to clipboard
abstract val plan: WaitPlan

Functions

Link copied to clipboard
abstract fun cancel()
Link copied to clipboard
abstract fun error(throwable: Throwable)
Link copied to clipboard
abstract fun next(signal: WaitSignal): Boolean