0 purchases
yogurt event bus
A library that provides support for synchronous and asynchronous event bus functionality.
Features #
Supports both synchronous and asynchronous event handling.
Allows easy communication between different parts of your Dart application.
Getting started #
To start using the library, add the following dependency to your pubspec.yaml file:
dependencies:
yogurt_event_bus: any
copied to clipboard
Usage #
Here's a simple example demonstrating how to use the library:
final bus = AsyncEventBus(
state: const _TestState(null),
plugins: [_TestPlugin()],
);
final result = await bus.invoke(const _TestEvent(null));
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.