Releases: nicktacular/phlask
Release 0.2.3
Fixes an issue where between the call to hasTasks() and popTask() could result in no tasks being available. This ensures that a check is done on popTask() to make sure it actually returned a task.
Release 0.2.2
Improved the MongoQueue
adapter with ability to specify the actual model in the interfaces found in phlask\TaskQueue\Mongo
namespace.
Release 0.2.1
This alpha release includes an API break whereby the TaskSpecInterface
now includes a method getId
which was added as a means for the StatusNotifierInterface
to be able to link up existing tasks with their status. Without some unique identifier, this would not be possible.
Furthermore, the pushTask
method was removed from the TaskQueueInterface
as the consumer (the Runner
) really doesn't care about being able to add tasks to the queue—it only cares about consuming (namely, popTask
method).
Release 0.1.2
This releases addresses PHP 5.3 compatibility and adds a new set of features for status listeners that can are passed the exit status codes, termination signals, and the original Task object for further processing.