Skip to main content

Module registry

Module registry 

Source
Expand description

In-memory subscription state registry.

Tracks the lifecycle of event subscriptions: active, triggered, canceled. The dispatch loop consults this registry to:

  1. Find tasks with triggered subscriptions for early promotion.
  2. Match new events against active subscriptions.

Structsยง

SubscriptionEntry
State record for a single subscription.
SubscriptionRegistry
In-memory registry of event subscriptions.