Skip to main content

adapt_event_sink

Function adapt_event_sink 

Source
pub async fn adapt_event_sink(
    receiver: TransactionEventReceiver,
    sink: Arc<dyn TransactionEventSink>,
)
Expand description

Forward mailbox events to a legacy sink until the sender is dropped.

Runs on the caller/host task — never on the runtime-owned executor.