This commit is contained in:
Tobe O 2018-11-15 12:42:41 -05:00
parent 971beb92a6
commit f5129b6882

View file

@ -5,7 +5,7 @@
Easily synchronize and scale WebSockets using package:pub_sub.
# Usage
This package exposes `PubSubWebSocketSynchronizer`, which
This package exposes `PubSubSynchronizationChannel`, which
can simply be dropped into any `AngelWebSocket` constructor.
Once you've set that up, instances of your application will
@ -14,7 +14,7 @@ to scale a real-time application with Angel!
```dart
await app.configure(new AngelWebSocket(
synchronizer: new PubSubWebSocketSynchronizer(
synchronizationChannel: new PubSubSynchronizationChannel(
new pub_sub.IsolateClient('<client-id>', adapter.receivePort.sendPort),
),
));