Commit Graph

32 Commits

Author SHA1 Message Date
Aaron Piotrowski
27e3657820
Allow amphp/parallel v1.0 2018-10-28 09:47:32 -05:00
Niklas Keller
9f4c8651df Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2018-05-16 16:16:25 +02:00
Niklas Keller
5e118307ff Fix code style 2017-12-28 15:13:09 +01:00
Niklas Keller
04ecc43b0d Rewrite configuration section 2017-12-26 12:12:21 +01:00
Niklas Keller
37dbf46ae5 Add example with many process pools, to test proper garbage collection 2017-12-26 12:06:04 +01:00
Niklas Keller
999ba8a00a Fix code style 2017-12-17 19:33:29 +01:00
Niklas Keller
4ede597ee5 Fix minimum requirement for amphp/amp
This ensures that elements are ordered correctly.
2017-12-17 19:31:34 +01:00
Aaron Piotrowski
ca55bd1d27
Update docs for pool argument 2017-12-16 11:13:33 -06: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
d57bfecbf5 Fix example 2017-12-16 17:46:04 +01:00
Niklas Keller
b5f46e0eaf Add example to README 2017-12-16 17:45:15 +01:00
Niklas Keller
c74079988a Add note about configuration, relates to #2 2017-12-16 14:27:00 +01:00
peter279k
d7f396df2b Make use of composer scripts and add a further test 2017-12-16 10:35:40 +01:00
Niklas Keller
a73ac158c3 Add warning about writing directly to STDOUT in parallel code 2017-12-14 19:40:50 +01:00
Niklas Keller
0ac35d24a9 Allow parallel v0.1 and v0.2 2017-12-14 19:09:53 +01:00
Niklas Keller
3ffaae2a34 Add description and keywords for SEO 2017-12-14 18:38:23 +01:00
Niklas Keller
6e0b220fa6 Linkify types in docs, update shared files 2017-12-14 18:31:14 +01:00
Niklas Keller
27d229cda7 Fix docs after function rename 2017-12-14 18:04:11 +01:00
Niklas Keller
7180424f0a Update documentation and add note about resources 2017-12-14 18:01:51 +01:00
Niklas Keller
f945e64f32 Rewrite on top of opis/closure 2017-12-14 17:33:41 +01:00
Niklas Keller
43c6fc74c9 Rename functions back to parallelMap and parallelFilter 2017-12-14 17:01:25 +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
Niklas Keller
31004c3d6f Link website docs in README 2017-12-14 00:31:50 +01:00
Niklas Keller
ea9746ecf5 Add docs 2017-12-14 00:30:25 +01:00
Niklas Keller
7422d61949 Rename parallelMap → map, parallelFilter → filter 2017-12-13 23:57:44 +01:00
Niklas Keller
641c009240 Catch SerializationExceptions and convert them to Errors 2017-12-13 23:56:44 +01:00
Niklas Keller
8dc3b3e6b4 Define target platform for php-cs-fixer 2017-12-13 23:50:45 +01:00
Niklas Keller
36dc8ed92a Add php-cs-fixer and fix code style 2017-12-13 23:48:03 +01:00
Niklas Keller
74c8b5f145 Fix intentional example error and improve Travis build
Examples are now executed in a subshell, so a failure doesn't terminate the complete build.
2017-12-13 23:40:53 +01:00
Niklas Keller
2834e2957b Rename to parallel-functions, use built-in default pool 2017-12-13 23:36:35 +01:00
Niklas Keller
c62ff9f26c Initial commit 2017-12-13 22:58:26 +01:00