isolate_runner

Last updated:

0 purchases

isolate_runner Image
isolate_runner Images
Add to Cart

Description:

isolate runner

A wrapper around Isolate #
Usage #
import 'package:isolate_runner/isolate_runner.dart';

Future<void> main() async {
final isolateRunner = IsolateRunner();

await isolateRunner.run(() {
print('Hello Isolate!');
});
await isolateRunner.runWithArgs(test, 100);

await isolateRunner.close();
}

void test(int value) {
print(value);
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.