tap: 一个嵌套的 flushTapSync 会清理包含它的 flush 的排队工作
作者: samdickson22创建于 2026年9月25日更新于 2026年9月25日
标签bug
The nested flush's drain also delivers the notifications still queued behind that listener. Another root's listener runs inside `subscribe()`. If it throws, `subscribe()` reads the error as a failed commit, unmounts the root it just mounted, and rethrows.
内容来源: assistant-ui/assistant-ui