Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Channel default capacity is unbounded

Platform spec ADR

Channel default capacity is unbounded

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Authors need predictable queue semantics without implicit blocking on the default channel.

RuleDetail
DefaultUnbounded when ChannelOptions is omitted or no bounded capacity is set
BoundedChannelOptions.Bounded(n) with `n > 0`
UnboundedChannelOptions.Unbounded (equivalent to default)
Factory`Channel<T>.Create(options: ChannelOptions = default)`

Documentation must warn about memory growth on unbounded channels. Bounded queues park senders when full.

Corelib concurrency tests; runtime channel builtins.