Aaron Piotrowski
be2a9f8c07
Merge pull request #130 from amphp/cancellation
...
Implement cancellation primitives, resolves #125
2017-05-16 11:32:42 -05:00
Aaron Piotrowski
086f045003
Remove event to stream map
...
Unnecessary as the watcher object is available in cancel().
2017-05-16 11:22:40 -05:00
Bob Weinand
6e52f3e211
Fix potential issues when operating on destroyed uv handles in shutdown sequence
2017-05-16 18:17:12 +02:00
Aaron Piotrowski
de783b8eb1
Do not call uv_* functions on expired timers
2017-05-15 12:41:43 -05:00
Niklas Keller
61a7596106
Implement cancellation primitives, resolves #125
2017-05-14 23:07:49 +02:00
Aaron Piotrowski
40299959bf
Remove calls to uv_close()
...
Watchers are closed on garabage collection if necessary.
2017-05-13 10:12:03 -05:00
Aaron Piotrowski
51ab8cb134
Only poll again on UV_EAGAIN
2017-05-13 10:11:00 -05:00
Aaron Piotrowski
3f1f9f41ca
Do not call uv_close() if other watchers on the same stream exist
2017-05-11 10:39:31 -05:00
Niklas Keller
dd5f7ffd95
Add 'event-loop' keyword to composer.json
2017-05-09 12:31:17 +02:00
Bob Weinand
f063a8311a
Shutup "style" checker....
2017-05-07 19:14:13 +02:00
Bob Weinand
6c03950abd
Do not run uv tests separately in its own process
2017-05-07 19:02:22 +02:00
Bob Weinand
55de30c53d
Properly run gc_collect_cycles() between tests
...
This avoids leaking file descriptors with Uv
2017-05-07 13:09:59 +02:00
Niklas Keller
5d36c15a1c
Add changelog for 2.0.0, fixes #92
2017-05-04 17:27:50 +02:00
Niklas Keller
d1ef36fa10
Add basic coroutine docs, closes #90
2017-05-04 12:23:54 +02:00
Niklas Keller
de9bf8f5d1
Add Makefile that automatically setups, runs tests and checks code style
2017-05-04 08:44:44 +02:00
Niklas Keller
5c81015ddb
Increase repeat watcher to make test failure more unlikely
2017-05-03 22:21:57 +02:00
Niklas Keller
dae06d0afa
Add notes about timer drift, fixes #80
2017-05-03 15:50:03 +02:00
Niklas Keller
50b37b23ef
Add asyncCall
2017-05-03 15:21:49 +02:00
Niklas Keller
e450bbe70a
Document coroutine helpers, fixes #100
2017-05-03 15:12:15 +02:00
Niklas Keller
5f3c0620a6
Remove already documented items from managing-concurrency.md
...
Merged a small part into the initial docs/README.md, most parts were already documented elsewhere. Generator docs might be helpful for building the coroutines documentation.
2017-05-03 13:12:42 +02:00
Niklas Keller
73df7791f5
Add additional inter-docs links
2017-05-03 12:49:56 +02:00
Niklas Keller
1a7cff7121
Document Iterator\merge and Iterator\concat, fixes #106
2017-05-03 12:43:46 +02:00
Niklas Keller
8ac828db37
Document Iterator\map and Iterator\filter, fixes #105
2017-05-03 12:38:51 +02:00
Niklas Keller
93df316ca9
Document fromIterable
2017-05-03 12:30:26 +02:00
Niklas Keller
4f00323060
Improve iterator docs
2017-05-03 12:20:16 +02:00
Niklas Keller
c002f2b23e
Document iterators, fixes #91 , fixes #99
2017-05-03 12:12:39 +02:00
Niklas Keller
def42c496a
Fix code style
2017-05-02 22:09:11 +02:00
Niklas Keller
5471b17a67
Fix broken test
2017-05-02 21:57:00 +02:00
Niklas Keller
8d9219bf92
Increase timer delay and defer in testMultipleWatchersOnSameDescriptor
2017-05-02 21:51:52 +02:00
Niklas Keller
e00ab0db75
Wrap execution order test in extra defer
...
This should mitigate the EventDriverTest occassionally failing.
In case this doesn't help, increase the rep1 repeat timer interval.
2017-05-02 21:42:45 +02:00
Niklas Keller
adf5014896
Add utils overview
2017-05-02 21:29:51 +02:00
Niklas Keller
137b423c11
Document CallableMaker, fixes #96
2017-05-02 21:25:51 +02:00
Niklas Keller
ec2889e633
🚚 Move util docs into their own directory
2017-05-02 21:14:29 +02:00
Niklas Keller
a4e0466d5b
📝 Add docs for setState and getState, fixes #89
2017-05-02 19:44:08 +02:00
Niklas Keller
28820fa459
Ignore __destruct for coverage
2017-05-02 19:30:34 +02:00
Niklas Keller
ad08ffba1d
✅ Add missing test case in ProducerTraitTest
2017-05-02 19:13:53 +02:00
Niklas Keller
1419bd6c0c
Remove unused imports
2017-05-02 19:04:25 +02:00
Niklas Keller
783fe8c4f4
✅ Add asyncCoroutine and ReactPromise tests
2017-05-02 18:59:52 +02:00
Niklas Keller
3c0d4153c7
🚚 Rename basic examples directory to event-loop
2017-05-02 18:36:02 +02:00
Niklas Keller
141875b133
🔥 Kill pipe and capture
...
Use Amp\call instead.
2017-05-02 18:32:59 +02:00
Niklas Keller
14cea0cbf0
✅ Added further Internal\Producer tests
2017-05-02 18:10:10 +02:00
Niklas Keller
f10321e5f8
📝 Add wait, rethrow and timeout docs, fixes #104
2017-05-02 17:54:10 +02:00
Niklas Keller
692cabf8c4
📝 Improve the promise / deferred docs
2017-05-02 17:17:11 +02:00
Niklas Keller
1b1ea5688c
Add signal and stdin examples
2017-05-02 13:32:58 +02:00
Niklas Keller
2a5600f027
Use asyncCoroutine instead of manual rethrow + new Coroutine
2017-05-02 13:11:52 +02:00
Niklas Keller
c29da96f3e
Fix remaining Pause → Delayed in examples and docs
2017-05-02 07:25:22 +02:00
Niklas Keller
b5770ba64a
Rename missed Pause to Delayed
2017-05-02 07:22:53 +02:00
Aaron Piotrowski
835e617054
More stream → iterator
...
Hopefully that's all of them…
2017-05-02 07:07:43 +02:00
Aaron Piotrowski
da9b724f5b
getIterator → iterate
2017-05-02 07:07:43 +02:00
Aaron Piotrowski
91c8da9fec
Replace more occurrences of stream
2017-05-02 07:07:43 +02:00