async_task 1.0.6
async_task: ^1.0.6 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.0.6 #
- Added
AsyncTaskChannelfor 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
AsyncTaskPlatformandAsyncTaskPlatformType. AsyncTask:- Optimize
taskType - Optimize
executeto use lessasyncoperations.
- Optimize
- Added
AsyncExecutorSharedDataInfoto reportSharedDatainformation. AsyncExecutor:- New constructor parameter
parallelismPercentage. - Optimize
execute,executeAllandexecuteAllAndWaitResultsto dispatch less asyn operations. - Added
disposeSharedDataanddisposeSharedDataInfo.
- New constructor parameter
- Extensions:
- Added
IterableFutureOrExtensionandIterableFutureExtension.
- Added
_AsyncExecutorMultiThread:- Optimized to use less
asyncoperations. - Using
_RawReceivePortPoolto 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 methodsharedDatanow returns aMap<String,SharedData>.
- Allow multiple
1.0.3 #
AsyncExecutor:- Fix
closeoperation while tasks are being executed.
- Fix
1.0.2 #
- Added
SharedData, to optimize data sharing between tasks and threads/isolates. AsyncExecutor: addedcloseto stop and finalize an executor.- Added collections extensions:
ListExtension,MapExtension,SetExtension,IterableExtension.
1.0.1 #
- Fix
pubspec.yamldescription length. - Improve
README.mddescription.
1.0.0 #
- Implemented
AsyncTaskwithstatus,resultandexecutionTime. AsyncExecutorwith implementations based ondart:isolateanddart:async.- Initial version.