Aaron Piotrowski
|
0597620f56
|
Serialize exception trace arguments in child processes and threads
|
2020-02-10 17:30:09 -06:00 |
|
Aaron Piotrowski
|
17b6b6272f
|
Add void types were able
|
2019-08-27 18:14:56 -05:00 |
|
Aaron Piotrowski
|
3cce945d93
|
Note method to retreive stacktrace in exception messages
|
2019-03-02 09:19:00 -06:00 |
|
Aaron Piotrowski
|
7c8f936618
|
Autoloading → Bootstrap
Calling the file a boostrap makes more sense as more than defining an autoloader can be done in the file.
|
2019-02-22 16:10:30 -06:00 |
|
Aaron Piotrowski
|
7c8756c3a5
|
Add custom autoloader option for workers
Fixes #55 and #71.
|
2019-02-20 17:39:39 -06:00 |
|
Aaron Piotrowski
|
f2e5224856
|
Unite Process and Parallel context interfaces
Allows scripts to be written for either context.
|
2019-02-17 23:50:41 -06:00 |
|
Aaron Piotrowski
|
ecaf0a854b
|
Add support for krakjoe/parallel
|
2019-02-14 00:34:45 -06:00 |
|
Aaron Piotrowski
|
6b6e38cf70
|
Define constants in contexts for easy identification
|
2019-02-13 14:15:16 -06:00 |
|
Aaron Piotrowski
|
9236ade19f
|
Capture previous exceptions of exceptions thrown from Task::run()
|
2019-01-25 14:29:32 -06:00 |
|
Aaron Piotrowski
|
d7697ebd69
|
Gracefully shutdown workers on process exit
|
2018-12-30 12:38:17 -06:00 |
|
Aaron Piotrowski
|
eff56fb849
|
Unreference process I/O streams
|
2018-10-27 11:14:31 -05:00 |
|
Aaron Piotrowski
|
14def89bff
|
Improve error messages when unserializable data is used
|
2018-10-23 22:10:12 -05:00 |
|
Aaron Piotrowski
|
fe4df13ab9
|
Forward stdout and stderr from worker to parent
Restores previous behavior of process contexts when used in a worker.
|
2018-10-23 10:11:16 -05:00 |
|
Aaron Piotrowski
|
f1b0a59b86
|
Final all the things!
|
2018-10-21 10:54:46 -05:00 |
|
Aaron Piotrowski
|
b654463339
|
Fix code style
|
2018-10-07 09:50:45 -05:00 |
|
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 |
|