framework/communication/communication library
Communication module exports
Classes
- DataChangedEvent
- Fired when data changes in a module
- DependencyResolutionResult
- Result of dependency resolution
- DependencyResolver
- Resolves module dependencies and determines load order
- EventBus
- EventSubscription
- Event subscription that can be cancelled or automatically expire.
- ModuleContext
- Context provided to modules during lifecycle. Provides convenient access to framework services with automatic module ID tracking.
- ModuleDependency
- Dependency with version requirement
- ModuleEvent
- Base class for all module events
- ModuleInstalledEvent
- Fired when a module is installed
- ModuleUninstalledEvent
- Fired when a module is uninstalled
- RateLimitConfig
- Configuration for event rate limiting to prevent system flooding.
- SemanticVersion
- Semantic version representation and comparison
- ServiceCalledEvent
- Fired when a service is called
- SignalHistoryEntry
- Recorded signal for history
Typedefs
- EventMiddleware = void Function(dynamic event, void next(dynamic))
- A typed event bus for inter-module communication.
- SignalMiddleware = void Function(String signalName, dynamic data, void next(String, dynamic))
- Middleware for signal interception.