Forráskód Böngészése

docs: sync the projection disposer signature

creatixchu 3 hete
szülő
commit
653a4164b8
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      docs/subsystems/session.zh.md

+ 1 - 1
docs/subsystems/session.zh.md

@@ -913,7 +913,7 @@ Persistence is intentionally not implemented here — the agent lifecycle attach
  * @returns the fiber-owned disposer.
  * @throws when another definition already owns this event type.
  */
-registerMessageProjection(projection: SessionMessageProjection): () => void
+registerMessageProjection(projection: SessionMessageProjection): () => Promise<void>
 
 /**
  * Create a session owned by the calling fiber: disposing that fiber stops