secretary 0.4.1
secretary: ^0.4.1 copied to clipboard
A sophisticated tool for managing queues of asynchronous tasks, with a stream interface, strong typing and lots of helpful options.
0.4.1 #
Secretary.link(): connects a Secretary to another, so that whenever a task successfully completes in the first, one is added to the second.
0.4.0 #
- What used to be
SecretaryStateis nowSecretaryStatus,Secretary.stateis nowSecretary.status, etc. - Added
SecretaryState(Secretary.stateandSecretary.stateStream), which contains information about the queue and recurring tasks.
0.3.2 #
- Tests for
waitForResult(). - More
Validatorhelper functions, and match validators now returnInvalidValueError.
0.3.1 #
Secretary.waitForResult(): use this to wait for a result for a specific event.
0.3.0 #
- Added concurrency:
Secretary.maxConcurrentTasks.
0.2.2 #
- Added
StopPolicy.finishRecurring. - Stop policy tests.
0.2.1 #
- Added
onCompleteandonErrorcallbacks to recurring tasks.
0.2.0 #
- Recurring tasks.
TaskOverridesdata class instead of tons of parameters inSecretary.add().RetryPolicyis nowQueuePolicy.
0.1.2 #
- More tests.
- More documentation.
- More Validator and RetryTest helpers.
0.1.1 #
- More documentation.
failureStreamandretryStreamhelpers.- Fixed a bug with cleaning up failed tasks.
0.1.0 #
- Initial release.