Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Homogeneous Hub in v1

Platform spec ADR

Homogeneous Hub in v1

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Heterogeneous select requires tagged unions or multiple hubs in v1.

RuleDetail
FairnessRound-robin (see D-CORE-CONC-0003)
Max registrations256 per hub (HubError::Limit possible)
Element typeHomogeneous — one `Hub<T>` wraps only `Channel<T>` with same T
HeterogeneousNot v1 — use multiple hubs or `Channel<HubMessage>`
ResultHubReceiveResult { index: i64, value: T }

UI/console hubs should stay well below 256 registrations.

Hub builtin tests; examples article.