a_thread_pool 1.1.6 a_thread_pool: ^1.1.6 copied to clipboard
a isolate util, help developers use Isolate more friendly under the flutter framework to activate the multi-core performance of the device.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add a_thread_pool
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
a_thread_pool: ^1.1.6
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:a_thread_pool/a_thread_pool.dart';