Aaron Piotrowski
|
21b1a29748
|
Shorten task failure messages
|
2017-12-13 23:03:42 -06:00 |
|
Aaron Piotrowski
|
fc4c2a07b7
|
Shorten job IDs
|
2017-12-13 21:28:08 -06: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 |
|
Aaron Piotrowski
|
4d4841f449
|
Refactor Process to make writing child processes simple
|
2017-12-10 16:39:49 -06:00 |
|
Aaron Piotrowski
|
6be72c6754
|
Run tasks in-order
Tasks on Windows must be run in-order because STDIO pipes are blocking. IPC be refactored to use sockets in the future if desired.
|
2017-12-06 15:59:28 -06:00 |
|
Aaron Piotrowski
|
e700395ac5
|
Better fix for #27
Assertions would crash the worker, this will return as a failed task.
|
2017-11-22 21:38:11 -06:00 |
|
Aaron Piotrowski
|
689de9a28b
|
Assert autoload of Task class did not fail
Fixes #27.
|
2017-11-22 20:42:56 -06:00 |
|
Aaron Piotrowski
|
26e826a05f
|
Add code to exception message, addresses #21
Code is no longer passed to exception constructor in parent context.
|
2017-11-10 11:32:15 -06:00 |
|
Aaron Piotrowski
|
0df4fa9cce
|
Add internal annotations
|
2017-07-27 23:49:20 -05:00 |
|
Aaron Piotrowski
|
faf1555b9c
|
Move TaskRunner out of Internal namespace
|
2017-07-26 23:32:19 -05:00 |
|
Aaron Piotrowski
|
149dbe4ba3
|
Use Amp\call to run tasks
Handles generator to coroutine convertion and React promises automatically.
|
2017-05-19 17:13:42 -05:00 |
|
Niklas Keller
|
2e9a29ae1c
|
Apply Amp's code style
|
2017-05-18 09:51:31 +02:00 |
|
Aaron Piotrowski
|
c7294da60d
|
Reorganize exception classes and add TaskError
TaskError is thrown if the exception thrown in the worker was an instance of Error.
|
2017-05-17 23:13:29 -05:00 |
|
Aaron Piotrowski
|
9bf978ad01
|
when() → onResolve()
|
2017-03-21 18:45:23 -05:00 |
|
Aaron Piotrowski
|
6a8eb2130e
|
Update for async-interop merge and other Amp changes
|
2017-03-16 17:03:59 -05:00 |
|
Aaron Piotrowski
|
f5ebd6b435
|
Update for async-interop namespace change
|
2017-01-09 11:11:25 -06:00 |
|
Aaron Piotrowski
|
71f8d2016d
|
Drop strict types
|
2016-12-29 19:16:04 -06:00 |
|
Aaron Piotrowski
|
6d88d87fe0
|
Awaitable → Promise
|
2016-11-14 17:43:44 -06:00 |
|
Aaron Piotrowski
|
c4a5082d90
|
Minor cleanup/refactoring
|
2016-09-07 11:38:46 -05:00 |
|
Aaron Piotrowski
|
67c82f0f2f
|
Minor cleanup and bugfixes
|
2016-09-01 18:10:52 -05:00 |
|
Aaron Piotrowski
|
3d2964ff10
|
Add method to retreive class name thrown from tasks
|
2016-08-30 13:40:46 -05:00 |
|
Aaron Piotrowski
|
8126b8e3f2
|
Property docblock cleanup
|
2016-08-26 10:10:03 -05:00 |
|
Aaron Piotrowski
|
ce25a0179d
|
Rename to Parallel
|
2016-08-23 16:47:40 -05:00 |
|
Aaron Piotrowski
|
c068a5ae38
|
Use strict types; fix tests
|
2016-08-21 23:40:48 -05:00 |
|
Aaron Piotrowski
|
193581d6c9
|
Run multiple tasks simultaneously on workers
|
2016-08-21 10:33:39 -05:00 |
|
Aaron Piotrowski
|
da84a772cf
|
Port to Amp
|
2016-08-18 11:04:48 -05:00 |
|
Aaron Piotrowski
|
54810f1d67
|
Update composer and dir name for Amp
|
2016-07-20 09:23:50 -05:00 |
|