rx 0.0.2 rx: ^0.0.2 copied to clipboard
Reactive Extensions Library for Dart providing an API for asynchronous programming with observable streams.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add rx
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
rx: ^0.0.2
Alternatively, your editor might support dart pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rx/constructors.dart';
import 'package:rx/core.dart';
import 'package:rx/operators.dart';
import 'package:rx/schedulers.dart';
import 'package:rx/subjects.dart';
import 'package:rx/subscriptions.dart';
import 'package:rx/testing.dart';