Skip to content

Events reference

Use this hub for the exact contract of api.events. Events publish facts to zero or more listeners in the current Phials renderer. They do not return a result, wait for asynchronous listeners, or persist a history.

Reference Canonical subject
Phials event catalog Every supported core.* event, payload, delivery condition, ordering guarantee, and version boundary
Plugin event naming and payload reference Plugin-owned event IDs, registration, declaration merging, payload evolution, and collision rules
Event delivery and cleanup reference Subscription lifetime, one-shot delivery, dispatch ordering, asynchronous handlers, errors, and deactivation cleanup

The SDK type reference owns the generated TypeScript signatures for EventsAPI, EventMap, CoreEvents, PluginEvents, EventHandler, and EventSubscription.

The Respond to events task hub shows subscription and emission patterns without redefining these contracts.

This article includes AI-assisted content.

Documentation is licensed under CC BY 4.0. Phoundry names and marks remain reserved.