Pieter Hordijk
b9d6720c83
Fixed examples ( #61 )
...
* Fixed examples
CallableTask expects the parameters to be passed in as array
* Fixed worker-pool example
The task does not make available the arguments (anymore)
2018-11-08 14:29:07 -06:00
Niklas Keller
912047f2ec
Add CallableTask and enqueueCallable
2018-11-04 10:17:19 -06:00
Aaron Piotrowski
31cbd9f197
Update examples
2018-10-24 22:31:47 -05:00
Aaron Piotrowski
b654463339
Fix code style
2018-10-07 09:50:45 -05:00
Aaron Piotrowski
312aecf1ff
Remove Worker::start()
...
The context can automatically be started when a job is enqueued.
2017-12-13 14:14:31 -06:00
Cyril Panshine
bcfb30fa35
Improve worker-pool example ( #30 )
2017-11-20 19:21:53 +01:00
Aaron Piotrowski
be0d786e14
example → examples
2017-06-16 00:04:10 -05:00
Aaron Piotrowski
c38b921029
examples -> example
2016-08-26 09:53:18 -05:00
Aaron Piotrowski
ce25a0179d
Rename to Parallel
2016-08-23 16:47:40 -05:00
Aaron Piotrowski
70097cb225
Update tests; code cleanup
2016-08-18 17:36:58 -05:00
Aaron Piotrowski
da84a772cf
Port to Amp
2016-08-18 11:04:48 -05:00
Aaron Piotrowski
14f2d6d707
Update with PHP 7 features
2016-01-23 00:00:56 -06:00
Aaron Piotrowski
59907f7884
Update example
2016-01-14 18:16:07 -06:00
Stephen Coakley
c6d350d802
Update example to demonstrate concurrency
2015-12-11 22:44:51 -06:00
Aaron Piotrowski
5bca326354
Remove Interface suffixes
2015-12-04 23:50:32 -06:00
Aaron Piotrowski
8695d600fc
Update examples with BlockingTask
2015-09-27 22:46:57 -05:00
Aaron Piotrowski
7a60d74937
Tweak worker pool; reject pending tasks on shutdown
2015-09-02 08:51:59 -05:00
coderstephen
95cbd8a365
Various improvements for worker pools
2015-08-28 20:30:53 -05:00
coderstephen
56b9360e0d
Add some simple functions for global worker pool
2015-08-28 00:18:50 -05:00
coderstephen
6e317abe1b
Add working worker pool with busy queue
2015-08-27 22:51:50 -05:00