angel3_sync 4.0.0 copy "angel3_sync: ^4.0.0" to clipboard
angel3_sync: ^4.0.0 copied to clipboard

outdated

Easily synchronize and scale WebSockets using package:angel3_pub_sub for Angel3.

Angel3 Sync #

version Null Safety Gitter

License

Easily synchronize and scale WebSockets using package:angel3_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(AngelWebSocket(
    synchronizationChannel: new PubSubSynchronizationChannel(
        pub_sub.IsolateClient('<client-id>', adapter.receivePort.sendPort),
    ),
));
0
likes
0
pub points
0%
popularity

Publisher

verified publisherdukefirehawk.com

Easily synchronize and scale WebSockets using package:angel3_pub_sub for Angel3.

Homepage
Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

angel3_framework, angel3_pub_sub, angel3_websocket, stream_channel

More

Packages that depend on angel3_sync