1
0
mirror of https://github.com/danog/parallel.git synced 2024-11-27 12:54:55 +01:00
Commit Graph

28 Commits

Author SHA1 Message Date
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
cc6f785fa9 Pause → Delayed 2017-05-10 23:45:02 -05:00
Aaron Piotrowski
fbb665a954 Remove unused imports 2017-05-10 23:40:52 -05:00
Niklas Keller
b148a20257 Update to latest Amp and byte-stream changes 2017-05-10 09:05:35 +02:00
Aaron Piotrowski
c753d1bf6e Allow more time for kill 2017-04-24 10:47:53 -05:00
Aaron Piotrowski
19d8cf79a1 Update ChannelledStream
Refactor of ReadableStream means ChannelledStream needed to change significantly.
2017-04-16 10:12:42 -05:00
Aaron Piotrowski
8a18a7a7b8 Require both params in constructor 2017-03-25 01:19:46 -05:00
Aaron Piotrowski
99c876f522 Update for stream changes 2017-03-23 19:25:35 -05:00
Aaron Piotrowski
9cb6359de3 Allow more time for kill
Threads only check once every 250 ms.
2017-03-21 23:33:40 -05:00
Aaron Piotrowski
774a42376d Fix risky test 2017-03-21 23:25:45 -05:00
Aaron Piotrowski
6c0078b915 Update to PHPUnit 6 and use helper package 2017-03-21 23:19:15 -05:00
Aaron Piotrowski
9bf978ad01 when() → onResolve() 2017-03-21 18:45:23 -05:00
Aaron Piotrowski
0236fc5336 Kill worker forks
Forking for workers is just not a good idea… it's too likely to be used irresponsibly.
2017-03-16 17:33:30 -05:00
Aaron Piotrowski
6a8eb2130e Update for async-interop merge and other Amp changes 2017-03-16 17:03:59 -05:00
Aaron Piotrowski
c16a015562 Convert ChannelException to ContextException 2017-03-09 16:15:30 -06:00
Aaron Piotrowski
b51e4f7ba6 ExitStatus → ExitResult 2017-01-16 23:24:59 -06:00
Aaron Piotrowski
7554767d6a Stream → ByteStream 2017-01-09 11:11:46 -06:00
Aaron Piotrowski
f5ebd6b435 Update for async-interop namespace change 2017-01-09 11:11:25 -06:00
Aaron Piotrowski
9deb8e3f8c Update for removal of Amp loop wrapper functions 2016-12-29 19:20:19 -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
fa8985d7e3 Remove dependency on amphp/socket 2016-08-30 18:27:14 -05:00
Aaron Piotrowski
ce25a0179d Rename to Parallel 2016-08-23 16:47:40 -05:00
Aaron Piotrowski
b924fc2b6e Code cleanup 2016-08-22 18:25:19 -05:00
Aaron Piotrowski
c068a5ae38 Use strict types; fix tests 2016-08-21 23:40:48 -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