Event bus service for form-wide event communication.
Provides type-safe event dispatching and subscription for form components to communicate without direct coupling. Uses RxJS observables for reactive event handling and supports both single event type and multiple event type subscriptions.
// Dispatch a submit eventeventBus.dispatch(SubmitEvent);// Dispatch a custom eventeventBus.dispatch(CustomFormEvent);
on()
Subscribes to form events with type-safe filtering.
Provides a reactive stream of events filtered by type. Supports both single event type subscriptions and multi-type subscriptions for flexible event handling.