Skip to content

miniproto.updates.manager.UpdateManager.emit_update

miniproto.updates.manager.UpdateManager.emit_update

Section titled “miniproto.updates.manager.UpdateManager.emit_update”
emit_update(update: Update) -> None

Offer a normalized update to consumers, then invoke matching handlers sequentially.

If the public queue rejects the item under a dropping overflow policy, handlers are not invoked. Matching registered types are visited in registration-mapping order, and each handler is awaited before the next one when it returns an awaitable.

Parameters:

  • update (Update) – Normalized public update to queue and dispatch.

Raises:

  • QueueFull – If the public queue is full and policy is "raise".
  • Exception – Propagates a matching handler failure.