Skip to content
Beskid Platform specification

Beskid

Jump to a Beskid service

Beskid

Jump to a Beskid service

spawn keyword; async and await reserved

Platform spec ADR

spawn keyword; async and await reserved

Spec standingStandard

Owner
Piotr Mikstacki
Submitter
Piotr Mikstacki

Aligns with inception ADR D-INC-0008; avoids dual concurrency models in v1.

RuleDetail
Keywordspawn required for new fibers; no go alias in v1
Reservedasync and await are parse errors (reserved, not implemented)
Data transferChannel only between fibers for data; Mutex / WaitGroup for coordination
Handles`Fiber<T>` and `Channel<T>` are move-only

Parser and semantic tests reject async/await; spawn lowering returns `Fiber<T>`.

Parser fixtures; Fibers and spawn.