async_task 1.1.1 async_task: ^1.1.1 copied to clipboard
Asynchronous tasks and parallel executors (similar to thread pools) for all Dart platforms (transparently), without having to deal with `Isolate` complexity.
1.1.1 #
-
Optimize
AsyncTaskLoggerCaller
:- Avoid
String
build when logging is disabled.
- Avoid
-
Optimize
async_task_isolate.dart
:- Improve message objects, to allow immutable detection.
-
AsyncTask
:- Improve error handling and error response from
Isolate
.
- Improve error handling and error response from
-
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
1.1.0 #
-
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
1.0.20 #
README.md
:- Fix GitHub CI badge.
- Added
parallelism
explanation.
- test: ^1.22.1
1.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
1.0.18 #
AsyncExecutor
:- Added field
name
(for debug purposes). - Now detects Isolate starting timeout.
- Added field
1.0.17 #
- New
AsyncExecutorThreadInfo
andAsyncThreadInfo
. - Improved
AsyncTaskChannel
close behavior. - Reduced allocation of closures and
Future
s to improve GC performance. AsyncTask
:- Added trigger list
addOnFinishAsyncTask
, to avoidFuture
s.
- Added trigger list
1.0.16 #
SharedPointerBytes
:- Expose
bytes
andbyteData
.
- Expose
1.0.15 #
- Added
SharedPointer
: shared memory area betweenIsolate
s. - ffi: ^1.1.2
1.0.14 #
- Fix issue when reusing
_ReceivePort
. - Optimize imports.
1.0.13 #
AsyncTaskChannel
:- Added
id
to help debugging. - Added non-blocking
readMessage
. - Added
messageQueueLength
andmessageQueueIsEmpty
.
- Added
AsyncTaskChannelPort
:- Added
id
to help debugging. - Added
readSync
andmessageQueueLength
.
- Added
- 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
1.0.12 #
- Migrate from
pedantic
tolints
. - Using Dart coverage.
- async_extension: ^1.0.8
- lints: ^1.0.1
- coverage: ^1.0.3
1.0.11 #
- Improve tests.
- Only export
async_extension
on libraryasync_task_extension.dart
.
1.0.10 #
- Optimize
async
methods withasync_extension
. - Improve tests.
- async_extension: ^1.0.4
1.0.9 #
- Ensure that all ports are closed after close executors.
README.md
:- Fix typo.
- Improve channel usage description.
- Move
IterableFutureOrExtension
andIterableFutureExtension
to packageasync_extension
.- async_extension: ^1.0.3
1.0.8 #
- Fix isolate message of a task without
SharedData
. - Improved tests scenarios.
1.0.7 #
- Small fix in README.
- Small fix in example.
1.0.6 #
- 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.
1.0.5 #
- Added
AsyncTaskPlatform
andAsyncTaskPlatformType
. AsyncTask
:- Optimize
taskType
- Optimize
execute
to use lessasync
operations.
- Optimize
- Added
AsyncExecutorSharedDataInfo
to reportSharedData
information. AsyncExecutor
:- New constructor parameter
parallelismPercentage
. - Optimize
execute
,executeAll
andexecuteAllAndWaitResults
to dispatch less asyn operations. - Added
disposeSharedData
anddisposeSharedDataInfo
.
- New constructor parameter
- Extensions:
- Added
IterableFutureOrExtension
andIterableFutureExtension
.
- Added
_AsyncExecutorMultiThread
:- Optimized to use less
async
operations. - Using
_RawReceivePortPool
to optimize ports. - Optimized to pre send
SharedData
.
- Optimized to use less
- Added
_RawReceivePortPool
: pool of reusable_ReceivePort
. - Added
_ReceivePort
: an optimizedRawReceivePort
.
1.0.4 #
AsyncTask
:- Allow multiple
SharedData
: Optional methodsharedData
now returns aMap<String,SharedData>
.
- Allow multiple
1.0.3 #
AsyncExecutor
:- Fix
close
operation while tasks are being executed.
- Fix
1.0.2 #
- Added
SharedData
, to optimize data sharing between tasks and threads/isolates. AsyncExecutor
: addedclose
to stop and finalize an executor.- Added collections extensions:
ListExtension
,MapExtension
,SetExtension
,IterableExtension
.
1.0.1 #
- Fix
pubspec.yaml
description length. - Improve
README.md
description.
1.0.0 #
- Implemented
AsyncTask
withstatus
,result
andexecutionTime
. AsyncExecutor
with implementations based ondart:isolate
anddart:async
.- Initial version.