Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

Cooperative fibers and channels in v1

Platform spec ADR

Cooperative fibers and channels in v1

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Async/await state machines would delay shipping a inspectable fiber runtime and channel semantics.

spawn must be the fiber introduction keyword. async and await must be parse errors (reserved) until a future spec adds them. Cross-fiber communication must use Channel (and coordination primitives), not shared stacks.

Corelib concurrency package and execution scheduler specs realize this ADR.

Fibers and spawn; Concurrency package ADRs.