angel_sync 2.0.0

Dart native
Flutter Android iOS

Easily synchronize and scale WebSockets using package:pub_sub.

sync #

Pub build status

Easily synchronize and scale WebSockets using package:pub_sub.

Usage #

This package exposes PubSubSynchronizationChannel, which can simply be dropped into any AngelWebSocket constructor.

Once you've set that up, instances of your application will automatically fire events in-sync. That's all you have to do to scale a real-time application with Angel!

await app.configure(new AngelWebSocket(
    synchronizationChannel: new PubSubSynchronizationChannel(
        new pub_sub.IsolateClient('<client-id>', adapter.receivePort.sendPort),
    ),
));
0
likes
80
pub points
0%
popularity

Publisher

angel-dart.dev

Easily synchronize and scale WebSockets using package:pub_sub.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

angel_framework, angel_websocket, pub_sub, stream_channel

More

Packages that depend on angel_sync