Async Functions
Async functions return futures that represent eventual values. All public actor
Await Expressions
The await expression suspends execution until an async operation completes,
Atomicity Between Awaits
Code between suspending await points executes atomically, with no interleaving from other actors. This guarantee is fundamental to reasoning about concurrent state in Sector9.
Commit Points
A commit point is when state changes become permanent and irrevocable. Understanding commit points is essential for writing correct async code because they determine what survives a trap and what gets rolled back.
Async Star
async creates a computation and await continues through it. The important difference from ordinary async/await is that await* does not automatically split the current atomic slice. It passes control into the computation, and only a real suspension inside that computation creates an interleaving boundary.




