Commit Graph

49 Commits

Author SHA1 Message Date
Niklas Keller
04e92fcacf Skip running examples on Windows 2022-02-03 20:32:41 +01:00
Niklas Keller
6a3985ee39 Add missing dependency to amphp/serialization 2022-02-03 20:28:16 +01:00
Niklas Keller
43959fbdc5 Migrate to GitHub actions 2022-02-03 20:02:22 +01:00
Owen Voke
221ee7cc8b
Update to use laravel/serializable-closure (#29) 2022-02-03 13:04:51 +01:00
Owen Voke
cd73d841d7
Update to php-cs-fixer v3 (#30) 2022-02-02 23:04:43 +01:00
Owen Voke
4c67d25d39
Update to PHPUnit 9 (#31) 2022-02-01 13:33:52 +01:00
Marcin Harasim
14ff70bceb
Add docs/asset to export-ignore (#24)
Issue: https://github.com/amphp/byte-stream/issues/48
2020-09-03 19:50:34 +02:00
Niklas Keller
803efc26f7 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-08-30 21:23:43 +02:00
Niklas Keller
3f7fa8fb63 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-07-23 22:43:05 +02:00
Niklas Keller
af9795d51a Add .gitattributes 2020-07-10 19:05:35 +02:00
Niklas Keller
0fab6bc604 Remove Gemfile.lock 2020-04-01 20:16:50 +02:00
Niklas Keller
483476f059 Update shared documentation files
This is an automated commit. Please report any issues to https://github.com/amphp/website-tools.
2020-03-31 21:58:37 +02: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
12e6c602e0
Update example wording 2018-10-28 10:29:02 -05:00
Aaron Piotrowski
22b7ebe300
Update docs 2018-10-28 10:28:50 -05:00
Aaron Piotrowski
0b63981159
Allow any serializable callable 2018-10-28 10:18:24 -05:00
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