Last updated:
0 purchases
galileo sync
sync #
Easily synchronize and scale WebSockets using package:pub_sub.
Usage #
This package exposes PubSubSynchronizationChannel, which
can simply be dropped into any GalileoWebSocket 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 Galileo!
await app.configure(new GalileoWebSocket(
synchronizationChannel: new PubSubSynchronizationChannel(
new pub_sub.IsolateClient('<client-id>', adapter.receivePort.sendPort),
),
));
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.