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

outdatedDart 1 only

Simplest API to multi process.

go #

Simplest API to multi process.

Parallelize a task #

import 'package:go/go.dart';

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

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

Convert a task to remote task #

import 'package:go/go.dart';

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

main() async {
  Task twiceTask = remoteTask(twice);
  print(await twiceTask(5));
}
0
likes
0
pub points
60%
popularity

Publisher

unverified uploader

Simplest API to multi process.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

More

Packages that depend on go