elizarov05/04/2017, 6:44 AM
are are direct analogue of Quasar’s
) functions and suspension can happen at any depth in the stack as long as the whole call chain is marked with
which is enforced by compiler (you cannot invoke suspending function from a regular one). Quasar enforces that too, but it is using
and Java checked exceptions logic for this purpose, which is a little bit weaker form of enforcement.