async_events library
Asynchronous event hub library.
Classes
-
AsyncCall<
R> - AsyncEvent
- An AsyncEventChannel event.
- AsyncEvent$reflection
- AsyncEventChannel
- An AsyncEventHub channel.
- AsyncEventHub
- An AsyncEvent hub.
- AsyncEventID
- An AsyncEvent ID.
- AsyncEventID$reflection
- AsyncEventPulling
- Performs a periodic pulling of AsyncEventChannel events.
- AsyncEventPullingConfig
- An AsyncEventPulling configuration.
- AsyncEventStorage
- AsyncEventStorageClient
- Interface for an AsyncEventStorageRemote client.
- AsyncEventStorageMemory
- An in-memory AsyncEventStorage.
- AsyncEventStorageRemote
- A remote AsyncEventStorage.
- AsyncEventSubscription
- An AsyncEventChannel event subscription.
- AsyncEventSubscriptionGroup
- An AsyncEventSubscription group.
Mixins
- AsyncCaller
- An async call handler with retry support.
- AsyncEventStorageAsJSON
- Wraps AsyncEventStorage's calls returning JSON values. Useful to implement a storage server.
- AsyncEventStorageFromJSON
-
Wraps an AsyncEventStorageAsJSON instance converting JSON results int objects.
Useful to implement a
storage
client. - WithLastEventID
Extensions
Functions
-
AsyncEvent$fromJson(
Map< String, Object?> map) → AsyncEvent -
AsyncEvent$fromJsonEncoded(
String jsonEncoded) → AsyncEvent -
AsyncEventID$fromJson(
Map< String, Object?> map) → AsyncEventID -
AsyncEventID$fromJsonEncoded(
String jsonEncoded) → AsyncEventID
Typedefs
- AsyncEventListener = FutureOr Function(AsyncEvent event)
- AsyncEventMatcher = bool Function(AsyncEvent event)
Exceptions / Errors
- AsyncEventError
- An error while handling an AsyncEvent.