isolation 0.0.2-dev isolation: ^0.0.2-dev copied to clipboard
The library allows you to simplify the creation and interaction of isolates for dart and flutter. The interaction between isolates is an interface similar to stream controllers.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add isolation
With Flutter:
$ flutter pub add isolation
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
isolation: ^0.0.2-dev
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:isolation/isolation.dart';