zlacker

[parent] [thread] 0 comments
1. gpdere+(OP)[view] [source] 2024-01-21 01:43:06
An async function is on CPS form and return it's result via a return continuation. Typically when invoked from a non CPS function it also forks the thread of execution.

These days async functions are also typically lazily evaluated via partial evaluation and the return continuation is not necessarily provided at the call site.

A sync function provides it's result via the normal return path.

[go to top]