Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Hub WaitReceive uses round-robin fairness

Platform spec ADR

Hub WaitReceive uses round-robin fairness

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Multiplexing without language select needs deterministic fairness when one registered channel is always ready.

RuleDetail
Homogeneity`Hub<T>`homogeneous T only in v1
ScanCursor starts at k; scan k, k+1, … modulo registration count for first ready channel
After successCursor advances past chosen index (wrap)
v1 scopeWaitSend out of scope; no language select
Empty hubWaitReceive with zero registrations → HubError::Empty

Matches D-CORE-CONC-0003.

Runtime hub_wait_receive_* implements rotation; corelib documents registration limits for hot paths.

Hub builtins; corelib hub tests.