multi_stream_controller 0.0.1

Dart native
Flutter Android iOS

A way to easily pipe your streams into one controller

A way to easily pipe your streams into one controller

Usage #

A simple usage example:

import 'package:multi_stream_controller/multi_stream_controller.dart';

void main() async{
  MultiStreamController ctrler1 = MultiStreamController();
  MultiStreamController ctrler2 = MultiStreamController();
  ctrler1.controllers.add(ctrler2);
  ctrler1.pipe();
  ctrler1.add(1);
  ctrler1.add(2);
  ctrler1.add(3);
  ctrler1.close();
  await for (dynamic value in ctrler2.result()){
    print(value);
  }
  //1
  //2
  //3
}

Features and bugs #

Please file feature requests and bugs at the issue tracker.

0
likes
55
pub points
0%
popularity

A way to easily pipe your streams into one controller

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

sachmada@gmail.com

License

Apache 2.0 (LICENSE)

Dependencies

stream_channel

More

Packages that depend on multi_stream_controller