go 1.0.6 copy "go: ^1.0.6" to clipboard
go: ^1.0.6 copied to clipboard

Dart 1 only

Simplest API to multi process using isolates.

example/go_example.dart

import 'package:go/go.dart';

int twice(int a) => a * 2;

main() async {
  print(await go(twice, 5));

  // [remoteTask] example
  Task twiceTask = remoteTask(twice);
  print(await twiceTask(5));
}
0
likes
30
pub points
60%
popularity

Publisher

unverified uploader

Simplest API to multi process using isolates.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (LICENSE)

Dependencies

async

More

Packages that depend on go