isolated_object 0.1.0 copy "isolated_object: ^0.1.0" to clipboard
isolated_object: ^0.1.0 copied to clipboard

Wraps an object in a dedicated isolate and forwards method calls to it, so timer- or event-loop-driven work (e.g. progress spinners) keeps running even when the calling isolate's event loop is blocked [...]

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add isolated_object

With Flutter:

 $ flutter pub add isolated_object

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

dependencies:
  isolated_object: ^0.1.0

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:isolated_object/isolated_object.dart';
0
likes
140
points
17
downloads

Documentation

API reference

Publisher

verified publisherserverpod.dev

Weekly Downloads

Wraps an object in a dedicated isolate and forwards method calls to it, so timer- or event-loop-driven work (e.g. progress spinners) keeps running even when the calling isolate's event loop is blocked. Dependency-free.

License

BSD-3-Clause (license)

More

Packages that depend on isolated_object