Crate synapps

Source
Expand description

§SynApps

This crate provides a simple event dispatcher that allows you to subscribe to events and dispatch them to multiple listeners.

Structs§

EventDispatcher
publish symbols from the event module. The event dispatcher is responsible for dispatching events to multiple subscribers.
EventDispatcherBuilder
publish symbols from the event module. Simple builder for the event dispatcher. It allows you to register subscribers and producers without managing the channels.
EventMessage
publish symbols from the event module. Represents an event message.
EventSubscription
publish symbols from the event module. Subscription to an event with a pattern validator. All messages that match the pattern will be sent to the subscriber.
TopicPatternValidator
publish symbols from the event module. A Pattern validator that compares the topic name.
TruePatternValidator
publish symbols from the event module. A pattern validator that always matches.

Traits§

Event
publish symbols from the event module. Trait for the event type.
PatternValidator
publish symbols from the event module. Represents a pattern validator. Pattern validators are used to filter events based on a pattern on the topic property.

Type Aliases§

SenderId
publish symbols from the event module. Alias for the sender identifier type.