Optionalpayload: anyOptionaloptions: DispatchOptionsRead-only dispatch — skips beforeHooks, runs handler + plugins, fires afterHooks. No mutation intent.
Optionalpayload: anyFire a domain event — notifies on() listeners, no handler required, no result returned.
Optionaldata: anyOptionaloptions: RegisterOptionsOptionaloptions: PluginOptionsSubscribe before dispatch. Throw to cancel (returns { ok: false }).
Remove all on() listeners matching the given pattern, or all listeners if omitted.
Optionalpattern: stringReturns all registered action names. Useful for introspection and DevTools.
Full teardown — calls clear() and cancels all pending timers/requests. Use in SSR or component-scoped buses.
Seal the bus — prevents further register(), use(), onBefore(), onAfter(), respond() calls. Dispatch, query, emit, on(), once() still work — seal protects the handler/plugin topology, not the observation layer. Listeners via on()/once() can still subscribe after seal. Call after app initialization to lock down the graph in production. Throws BusError with code 'VC_CORE_SEALED' on any mutation attempt. Cleared by clear() for HMR compat.
Returns true if the bus has been sealed.
Structural base interface for both sync and async buses. Use this as the parameter type in utilities (createChamber, createWorkflow, etc.) to avoid
as anycasts when working with either bus variant.