<@U0ZFBBUBU> We plan to support invocation of susp...
# coroutines
e
@groostav We plan to support invocation of suspending function references in 1.1. However, it is of a minor inconvenience in this particular case, since the bulk of complexity comes from the need to efficiently manage the list of waiters for values and resume them all when value appears. Here is a reasonably optimal (lock-free) implementation of
AsycnLazyImpl
, and the corresponding
asyncLazy
function: https://gist.github.com/elizarov/f27400a55c1502aacc35b4a3b2f5c9af