Skip to main content

Module async_driver

Module async_driver 

Source
Expand description

Injectable local async/time driver boundary (D111).

The wave core stays synchronous: driver callbacks re-enter through DeferredCtx, and Dispatcher::invoke remains sync void. Tokio, when enabled, is only an adapter behind this trait.

Structs§

TokioLocalDriver
TokioLocalDriver data container.

Traits§

LocalAsyncDriver
Local, single-thread async/time driver.

Type Aliases§

DriverCancel
Cancels driver-owned work. Dropping it intentionally does nothing; sources register it with ctx.on_deactivation so teardown is explicit.