angel3_sync 4.1.1
angel3_sync: ^4.1.1 copied to clipboard

Easily synchronize and scale WebSockets using belatuk_pub_sub in Angel3.

Angel3 Sync #

version Null Safety Gitter License

Easily synchronize and scale WebSockets using belatuk_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 Angel3!

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

Publisher

dukefirehawk.com

Easily synchronize and scale WebSockets using belatuk_pub_sub in Angel3.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

angel3_framework, angel3_websocket, belatuk_pub_sub, stream_channel

More

Packages that depend on angel3_sync