История изменений
Исправление
vertexua,
(текущая версия)
:
По теме - как я понял effect handlers будут абстрагировать даже асинхронную работу. Можно ожидать чего-то подобного на Go runtime?
Thanks to the separation of effectful operations from their implementation, effect handlers enable new approaches to modular programming. Effect handlers are a generalisation of exception handlers, where, in addition to the effect being handled, the handler is provided with the delimited continuation of the perform site. This continuation may be used to resume the suspended computation later. This enables non-local control-flow mechanisms such as resumable exceptions, lightweight threads, coroutines, generators and asynchronous I/O to be composably expressed.
Исходная версия
vertexua,
:
По теме - как я понял effect handlers будут абстрагировать даже асинхронную работу. Можно ожидать чего-то подобного на Go runtime?