Commit Graph

8 Commits

Author SHA1 Message Date
Owen Voke
4c67d25d39
Update to PHPUnit 9 (#31) 2022-02-01 13:33:52 +01:00
Aaron Piotrowski
6d033dbd67
Serialize callable immediately
This largely reverts d304ce7a54. Too bad, I was hoping to reuse CallableTask.
2019-01-09 16:37:17 -06:00
Aaron Piotrowski
d304ce7a54
Use CallableTask from amphp/parallel v1.1 2019-01-07 18:14:31 -06:00
Aaron Piotrowski
0b63981159
Allow any serializable callable 2018-10-28 10:18:24 -05:00
Aaron Piotrowski
6ff9ee6c4c
Add Pool parameter to function
Allows specifying a specific worker pool instead of the global pool.
2017-12-16 11:06:37 -06:00
Niklas Keller
f945e64f32 Rewrite on top of opis/closure 2017-12-14 17:33:41 +01:00
Niklas Keller
96c5ee7bae Fix code style 2017-12-14 08:31:15 +01:00
Aaron Piotrowski
a3d89f6582
Throw when closure is not serializable 2017-12-13 22:49:18 -06:00