synchronous_stream 1.0.2 copy "synchronous_stream: ^1.0.2" to clipboard
synchronous_stream: ^1.0.2 copied to clipboard

Synchronous notifier that implements `StreamController` variant with O(1) broadcast unsubscription (swap-remove) and compact tagged queues (pre-listen/pause) with lazy stack-trace capture and allocati [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add synchronous_stream

With Flutter:

 $ flutter pub add synchronous_stream

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  synchronous_stream: ^1.0.2

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

Import it

Now in your Dart code, you can use:

import 'package:synchronous_stream/synchronous_stream.dart';
0
likes
130
points
41
downloads

Publisher

verified publisherarxdeus.dev

Weekly Downloads

Synchronous notifier that implements `StreamController` variant with O(1) broadcast unsubscription (swap-remove) and compact tagged queues (pre-listen/pause) with lazy stack-trace capture and allocation-lean hot paths

Repository (GitHub)
View/report issues

Topics

#architecture #stream #reactivity

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on synchronous_stream