Events & tokens
Events, Tokens, And Token Bags
Start here for event types, subscription ownership, token bags, lifecycle recipes, and API reference.
- AzEvent family
- Tokens
- Token bags
- Lifecycle recipes
Use this section as the entry point for Azkar EDA's event system. Start with the event type that matches your payload shape, then move into subscriptions, tokens, bags, and lifecycle recipes.
AzEventNo-payload signals and the base event mental model.AzEvent<T>Payload events for small values, references, and normal gameplay data.AzEventRef<T>Readonly-ref delivery for large struct payloads.Subscribing And InvokingSubscribe, invoke, remove, order, and understand snapshot behavior.AzEventTokenDispose, pause, resume, compare, and inspect individual subscription handles.Token BagsOwn groups of subscriptions from a Unity lifecycle.Lifecycle RecipesMonoBehaviour, manager, pooled object, rebinding, and debug dispatch patterns.Threading, Performance, And APIThreading caveats, metrics, pitfalls, defaults, and quick reference.
Recommended Reading Order
- Start with AzEvent.
- Pick AzEvent<T> or AzEventRef<T> when payloads matter.
- Read Subscribing And Invoking, then AzEventToken and Token Bags.
- Keep Lifecycle Recipes nearby while wiring real Unity objects.
