Module worker

Source
Expand description

Concurrent connection worker that returns an event queue of new channel handles and notifications, operating in the background.

Structs§

ConnectionHandle
Handle to a connection worker that accepts new channels as channel handles and relays messages.

Enums§

WorkerEvent
Event about the connection that whatever is holding the worker handle would be interested in.

Functions§

conn_worker_task
spawn_connection_worker
Spawns a connection worker and returns a [WorkerHandle] to it.