angel_sync 1.0.0

  • Installing
  • Versions
  • 56


Pub build status

Easily synchronize and scale WebSockets using package:pub_sub.


This package exposes PubSubWebSocketSynchronizer, 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(new AngelWebSocket(
    synchronizer: new PubSubWebSocketSynchronizer(
        new pub_sub.IsolateClient('<client-id>', adapter.receivePort.sendPort),

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  angel_sync: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:

import 'package:angel_sync/angel_sync.dart';
Version Uploaded Documentation Archive
1.0.0 Aug 8, 2017 Go to the documentation of angel_sync 1.0.0 Download angel_sync 1.0.0 archive
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Aug 19, 2018, and provided a score, details, and suggestions below. Analysis was completed with status tool failures using:

  • Dart: 2.0.0
  • pana: 0.11.8


Detected platforms: unsure

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.

Issues and suggestions

Fix dependencies in pubspec.yaml.

Running pub upgrade failed with the following output:

ERR: The current Dart SDK version is 2.0.0.
 Because angel_sync depends on pub_sub any which requires SDK version >=1.19.0 <2.0.0, version solving failed.

Fix platform conflicts.

Error(s) prevent platform classification:

Fix dependencies in pubspec.yaml.


Changelog entries help clients to follow the progress in your code.

Package is getting outdated.

The package was released 53 weeks ago.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use angel_sync.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0