angel3_sync 10.0.0
angel3_sync: ^10.0.0 copied to clipboard
Easily synchronize and scale WebSockets using belatuk_pub_sub in Angel3.
Change Log #
10.0.0 #
New in 10.0.0 #
PubSubSynchronizationChannel(closeTimeout: ...), how longclosewaits for thepub_subserver
Fixes in 10.0.0 #
- Closing: Closing the channel's
sink, asAngelWebSocketdoes on shutdown, closes the channel, which unsubscribes and closes thepub_subclient, where they were left open, and completes once they are closed.closewaits for the server at most the newcloseTimeout(default 5 s), so a server that is gone does not stop it, and may be called more than once - After closing: Events are no longer published, and events and errors that come late are dropped, where they failed with a
StateError - Errors: An event without a name is an error of the stream, and the end of the subscription is told on the stream, which then ends
- Dependencies:
angel3_frameworkis a dev dependency, as only the tests and example use it - Docs: The README tells how to install and use the package, and its example compiles, and serves the WebSocket.
example/main.dartruns two synchronized instances, where it was a copy of the tests
9.1.0 #
- Require Dart >= 3.13
9.0.0 #
- Require Dart >= 3.12
8.4.0 #
- Require Dart >= 3.8
- Updated
lintsto 6.0.0 - Updated dependencies to the latest release
8.3.0 #
- Require Dart >= 3.6
- Updated
lintsto 5.0.0 - Updated dependencies to the latest release
8.2.0 #
- Require Dart >= 3.3
- Updated
lintsto 4.0.0
8.1.1 #
- Updated repository link
8.1.0 #
- Updated
lintsto 3.0.0 - Fixed linter warnings
8.0.0 #
- Require Dart >= 3.0
7.0.0 #
- Require Dart >= 2.17
6.0.0 #
- Require Dart >= 2.16
5.0.0 #
- Skipped release
4.1.1 #
- Fixed license link
4.1.0 #
- Updated to use
belatuk_pub_subpackage - Upgraded from
pendantictolintslinter
4.0.0 #
- Updated to use
angel3packages - Published with
angel3prefix
3.0.0 #
- Migrated to support Dart >= 2.12 NNBD
2.0.0 #
- Dart 2 + Angel 2 updates.
- Extend
StreamChannel, instead of the defunctWebSocketSynchronizer.