Repository navigation
OrchestrateLang v0.10.1
A fn that cannot wait says so in OrchestrateLang.
Fixed
- A
fnthat calls a serverlet, a landline, atask,sleep, or aparallelblock now
fails with an OrchestrateLang error naming the function and the call, and saying to
declare it as atask. It used to reach Cargo and surface as rustc's
"awaitis only allowed insideasyncfunctions", pointing at generated code the user
never wrote.fncompiles to a synchronous Rust function andtaskto an async one,
which is the rule the message now states;docs/language-reference.md§2.5 states it too.