Skip to main content

Module subscription

Module subscription 

Source
Expand description

The tap and its subscriptions.

Structs§

Tap
The server’s tap. Cheap to clone; every clone is the same tap.
TapSubscription
One subscriber’s handle. Dropping it unsubscribes.

Constants§

DEFAULT_TAP_CAPACITY
Default per-subscriber ring capacity, in messages.
MAX_SAMPLE_ONE_IN
The largest sampling divisor the server will choose.

Type Aliases§

TapWaker
Wakes whoever drains the tap; called at most once per publish, after every tap lock is released.