Avatar
Kishikawa Katsumi 6/6/2021 2:06 PM
難しいな。読んだけど
Async handlers make it really easy to accidentally break structured concurrency, since the handler task is detached. Perhaps the tasks shouldn't be fully detached and need some other form of structure. Async handlers currently detach immediately, which is nice for certain use cases; however, the goal was originally to support the needs of synchronous UI handlers, which almost certainly want to do an initial segment of their work synchronously. Relatedly, actor-isolated async handlers become non-actor-isolated externally, which doesn't really mesh with even allowing the preferred semantics for synchronous UI handlers.
最初の命名以外はよくわからなかった。
2:06 PM
デタッチされるのはなんでダメなんだろう。