PackageTrack
Sign in Get early access

async_task

Asynchronous tasks and parallel executors (similar to thread pools) for all Dart platforms (transparently), without having to deal with `Isolate` complexity.

1.1.2 35K downloads/mo #1745 most downloaded on pub.dev eneural-net/async_task

What this package is like to depend on

Last release 7 months ago

23 Jan 2026

Ships unpredictably

gaps range from 2 weeks to 2.1 years

Nearly every release is documented

notes for 24 of 24 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

24 releases · first in 2021

1 release in the last 12 months

see the full history below

Release timeline

24 releases · Jun 2021 to Jan 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 24
  1. 1.1.2 23 Jan 2026
    Release notes
    • lib/src/async_task_isolate.dart:

      • _Isolate class _handleMessage method: removed default case that threw StateError on unhandled messages (not needed in Dart 3.6+).
    • pubspec.yaml:

      • Updated SDK constraint to >=3.6.0 <4.0.0.
      • Updated dependencies:
        • collection to ^1.19.1
        • async_extension to ^1.2.20
        • ffi to ^2.1.5
      • Updated dev_dependencies:
        • test to ^1.29.0
        • coverage to ^1.15.0
    Open source →
    Release notes
    • lib/src/async_task_isolate.dart:

      • _Isolate class _handleMessage method: removed default case that threw StateError on unhandled messages (not needed in Dart 3.6+).
    • pubspec.yaml:

      • Updated SDK constraint to >=3.6.0 <4.0.0.
      • Updated dependencies:
        • collection to ^1.19.1
        • async_extension to ^1.2.20
        • ffi to ^2.1.5
      • Updated dev_dependencies:
        • test to ^1.29.0
        • coverage to ^1.15.0
    Open source →
    Release notes

    v1.1.2 Latest

    Latest

    Compare

    Choose a tag to compare

    Open source →
  2. 1.1.1 04 Dec 2023
    Release notes

    Merge v1.1.1 - Optimize

    - Optimize `AsyncTaskLoggerCaller`:
    - Avoid `String` build when logging is disabled.
    - Optimize `async_task_isolate.dart`:
    - Improve message objects, to allow immutable detection.
    - `AsyncTask`:
    - Improve error handling and error response from `Isolate`.

    - sdk: '>=3.2.0 <4.0.0'
    - async_extension: ^1.2.5
    - lints: ^3.0.0

    - test: ^1.24.9
    - dependency_validator: ^3.2.3
    - coverage: ^1.7.1
    - vm_service: ^13.0.0

    Open source →
    Release notes
    • Optimize AsyncTaskLoggerCaller:

      • Avoid String build when logging is disabled.
    • Optimize async_task_isolate.dart:

      • Improve message objects, to allow immutable detection.
    • AsyncTask:

      • Improve error handling and error response from Isolate.
    • sdk: '>=3.2.0 <4.0.0'

    • async_extension: ^1.2.5

    • lints: ^3.0.0

    • test: ^1.24.9

    • dependency_validator: ^3.2.3

    • coverage: ^1.7.1

    • vm_service: ^13.0.0

    Open source →
    Release notes

    v1.1.1

    Compare

    Choose a tag to compare

    Open source →
  3. 1.1.0 24 Aug 2023
    Release notes
    • sdk: '>=3.0.0 <4.0.0'

    • collection: ^1.18.0

    • async_extension: ^1.2.4

    • ffi: ^2.1.0

    • lints: ^2.1.1

    • test: ^1.24.6

    • coverage: ^1.6.3

    • vm_service: ^11.9.0

    Open source →
  4. 1.0.20 05 Jan 2023
    Release notes

    Merge v1.0.20

    - `README.md`:
    - Fix GitHub CI badge.
    - Added `parallelism` explanation.
    - test: ^1.22.1

    Open source →
    Release notes
    • README.md:
      • Fix GitHub CI badge.
      • Added parallelism explanation.
    • test: ^1.22.1
    Open source →
    Release notes

    v1.0.20

    Compare

    Choose a tag to compare

    Open source →
  5. 1.0.19 21 Nov 2022
    Release notes

    Merge v1.0.19

    - Update GitHub CI.
    - Added tests in chrome.
    - sdk: '>=2.17.0 <3.0.0'
    - collection: ^1.17.0
    - async_extension: ^1.0.12
    - ffi: ^2.0.1
    - lints: ^2.0.1
    - test: ^1.22.0
    - dependency_validator: ^3.2.2
    - coverage: ^1.6.1
    - vm_service: ^9.4.0

    Open source →
    Release notes
    • Update GitHub CI.
      • Added tests in chrome.
    • sdk: '>=2.17.0 <3.0.0'
    • collection: ^1.17.0
    • async_extension: ^1.0.12
    • ffi: ^2.0.1
    • lints: ^2.0.1
    • test: ^1.22.0
    • dependency_validator: ^3.2.2
    • coverage: ^1.6.1
    • vm_service: ^9.4.0
    Open source →
    Release notes

    v1.0.19

    Compare

    Choose a tag to compare

    Open source →
  6. 1.0.18 28 Feb 2022
    Release notes

    v1.0.18

    - `AsyncExecutor`:
    - Added field `name` (for debug purposes).
    - Now detects Isolate starting timeout.

    Open source →
    Release notes
    • AsyncExecutor:
      • Added field name (for debug purposes).
      • Now detects Isolate starting timeout.
    Open source →
    Release notes

    v1.0.18

    Compare

    Choose a tag to compare

    Open source →
  7. 1.0.17 13 Feb 2022
    Release notes

    v1.0.17

    - New `AsyncExecutorThreadInfo` and `AsyncThreadInfo`.
    - Improved `AsyncTaskChannel` close behavior.
    - Reduced allocation of closures and `Future`s to improve GC performance.
    - `AsyncTask`:
    - Added trigger list `addOnFinishAsyncTask`, to avoid `Future`s.

    Open source →
    Release notes
    • New AsyncExecutorThreadInfo and AsyncThreadInfo.
    • Improved AsyncTaskChannel close behavior.
    • Reduced allocation of closures and Futures to improve GC performance.
    • AsyncTask:
      • Added trigger list addOnFinishAsyncTask, to avoid Futures.
    Open source →
    Release notes

    v1.0.17

    Compare

    Choose a tag to compare

    Open source →
  8. 1.0.16 22 Dec 2021
    Release notes

    v1.0.16

    - `SharedPointerBytes`:
    - Expose `bytes`and `byteData`.

    Open source →
    Release notes
    • SharedPointerBytes:
      • Expose bytesand byteData.
    Open source →
    Release notes

    v1.0.16

    Compare

    Choose a tag to compare

    Open source →
  9. 1.0.15 21 Dec 2021
    Release notes

    v1.0.15

    - Added `SharedPointer`: shared a memory aread between `Isolate`s.
    - ffi: ^1.1.2

    Open source →
    Release notes
    • Added SharedPointer: shared memory area between Isolates.
    • ffi: ^1.1.2
    Open source →
    Release notes

    v1.0.15

    Compare

    Choose a tag to compare

    Open source →
  10. 1.0.14 14 Dec 2021
    Release notes

    v1.0.14

    - Fix issue when reusing `_ReceivePort`.
    - Optimize imports.

    Open source →
    Release notes
    • Fix issue when reusing _ReceivePort.
    • Optimize imports.
    Open source →
    Release notes

    v1.0.14

    Compare

    Choose a tag to compare

    Open source →
  11. 1.0.13 01 Dec 2021
    Release notes

    v1.0.13

    - `AsyncTaskChannel`:
    - Added `id` to help debugging.
    - Added non-blocking `readMessage`.
    - Added `messageQueueLength` and `messageQueueIsEmpty`.
    - `AsyncTaskChannelPort`:
    - Added `id` to help debugging.
    - Added `readSync` and `messageQueueLength`.
    - Fixed issue executing tasks in a not start `AsyncExecutor` that is sequencial.
    - async_extension: ^1.0.9
    - test: ^1.19.5
    - dependency_validator: ^3.1.2

    Open source →
    Release notes
    • AsyncTaskChannel:
      • Added id to help debugging.
      • Added non-blocking readMessage.
      • Added messageQueueLength and messageQueueIsEmpty.
    • AsyncTaskChannelPort:
      • Added id to help debugging.
      • Added readSync and messageQueueLength.
    • Fixed issue executing tasks in a not start AsyncExecutor that is sequencial.
    • async_extension: ^1.0.9
    • test: ^1.19.5
    • dependency_validator: ^3.1.2
    Open source →
    Release notes

    v1.0.13

    Compare

    Choose a tag to compare

    Open source →
  12. 1.0.12 13 Oct 2021
    Release notes
    • Migrate from pedantic to lints.
    • Using Dart coverage.
    • async_extension: ^1.0.8
    • lints: ^1.0.1
    • coverage: ^1.0.3
    Open source →
  13. 1.0.11 30 Jun 2021
    Release notes
    • Improve tests.
    • Only export async_extension on library async_task_extension.dart.
    Open source →
  14. 1.0.10 30 Jun 2021
    Release notes
    • Optimize async methods with async_extension.
    • Improve tests.
    • async_extension: ^1.0.4
    Open source →
  15. 1.0.9 30 Jun 2021
    Release notes
    • Ensure that all ports are closed after close executors.
    • README.md:
      • Fix typo.
      • Improve channel usage description.
    • Move IterableFutureOrExtension and IterableFutureExtension to package async_extension.
      • async_extension: ^1.0.3
    Open source →
  16. 1.0.8 07 Jun 2021
    Release notes
    • Fix isolate message of a task without SharedData.
    • Improved tests scenarios.
    Open source →
  17. 1.0.7 07 Jun 2021
    Release notes
    • Small fix in README.
    • Small fix in example.
    Open source →
  18. 1.0.6 07 Jun 2021
    Release notes
    • Added AsyncTaskChannel for messages communication with tasks during execution.
    • Added AsyncExecutorStatus.
    • AsyncExecutor: optimize to avoid creating of futures while executing/processing a task.
    • Improved README.
    Open source →
  19. 1.0.5 06 Jun 2021
    Release notes
    • Added AsyncTaskPlatform and AsyncTaskPlatformType.
    • AsyncTask:
      • Optimize taskType
      • Optimize execute to use less async operations.
    • Added AsyncExecutorSharedDataInfo to report SharedData information.
    • AsyncExecutor:
      • New constructor parameter parallelismPercentage.
      • Optimize execute, executeAll and executeAllAndWaitResults to dispatch less asyn operations.
      • Added disposeSharedData and disposeSharedDataInfo.
    • Extensions:
      • Added IterableFutureOrExtension and IterableFutureExtension.
    • _AsyncExecutorMultiThread:
      • Optimized to use less async operations.
      • Using _RawReceivePortPool to optimize ports.
      • Optimized to pre send SharedData.
    • Added _RawReceivePortPool: pool of reusable _ReceivePort.
    • Added _ReceivePort: an optimized RawReceivePort.
    Open source →
  20. 1.0.4 04 Jun 2021
    Release notes
    • AsyncTask:
      • Allow multiple SharedData: Optional method sharedData now returns a Map<String,SharedData>.
    Open source →
  21. 1.0.3 04 Jun 2021
    Release notes
    • AsyncExecutor:
      • Fix close operation while tasks are being executed.
    Open source →
  22. 1.0.2 03 Jun 2021
    Release notes
    • Added SharedData, to optimize data sharing between tasks and threads/isolates.
    • AsyncExecutor: added close to stop and finalize an executor.
    • Added collections extensions: ListExtension, MapExtension, SetExtension, IterableExtension.
    Open source →
  23. 1.0.1 02 Jun 2021
    Release notes
    • Fix pubspec.yaml description length.
    • Improve README.md description.
    Open source →
  24. 1.0.0 02 Jun 2021
    Release notes
    • Implemented AsyncTask with status, result and executionTime.
    • AsyncExecutor with implementations based on dart:isolate and dart:async.
    • Initial version.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive