Aaron Piotrowski
|
96007f11aa
|
Add Streams
|
2020-09-24 12:53:27 -05:00 |
|
Niklas Keller
|
e2c63c83eb
|
Add Amp\Iterator\discard (#315)
|
2020-05-06 18:57:29 +02:00 |
|
Niklas Keller
|
17e2c2344c
|
Improve call / coroutine / wait types, add psalm test
|
2020-04-30 06:46:52 +02:00 |
|
Niklas Keller
|
a702c85f2f
|
Add generics for Amp\Promise\wait
|
2020-04-28 22:35:20 +02:00 |
|
Niklas Keller
|
8ee469be90
|
Improve type definition for Amp\call
|
2020-04-19 15:38:36 +02:00 |
|
Niklas Keller
|
b6f99cd534
|
Use conditional psalm types for improved type inference
|
2020-04-05 22:17:32 +02:00 |
|
Niklas Keller
|
caea418fe8
|
Increase psalm error level to level 2
|
2020-03-28 22:20:44 +01:00 |
|
Niklas Keller
|
f8efd44684
|
Add additional types for static analysis
|
2020-03-28 14:20:27 +01:00 |
|
Niklas Keller
|
01cd49994f
|
Add further generics for static analysis
|
2020-03-28 13:52:48 +01:00 |
|
Niklas Keller
|
a75164b66b
|
Add psalm static analysis on level 6
This also fixes mixed types in some cases.
|
2020-03-28 12:23:46 +01:00 |
|
Niklas Keller
|
c73528e839
|
Expose getCurrentTime as public API
|
2019-11-11 13:20:38 -06:00 |
|
|
c6a775a6c9
|
Add delay function (#278)
|
2019-08-02 22:37:42 +02:00 |
|
Masiukevich Maksim
|
0fd6b8c157
|
Fix phpdoc types for call / asyncCall (#260)
Incorrect types were indicated, due to which static analysis led to false positives.
|
2019-02-05 18:32:32 +01:00 |
|
Sascha-Oliver Prolic
|
96c2eeaa1f
|
Add Promise\wrap (#234)
|
2018-11-26 19:36:46 +01:00 |
|
Sascha-Oliver Prolic
|
4a98cc4fde
|
Add timeoutWithDefault function (#245)
|
2018-11-25 17:56:42 +01:00 |
|
Niklas Keller
|
b73e03bfe2
|
Rename Iterator\collect to Iterator\toArray
|
2018-11-25 17:09:50 +01:00 |
|
Niklas Keller
|
22a8332261
|
Add Iterator\collect
|
2018-11-25 17:09:50 +01:00 |
|
Niklas Keller
|
fa3fe1d20b
|
Apply PSR-2
|
2018-06-18 20:00:01 +02:00 |
|
Niklas Keller
|
98cfaa63ca
|
Remove unused variables
|
2017-12-05 08:48:56 +01:00 |
|
Bob Weinand
|
7837d8ce08
|
Fix #172 - Preserve Promise order within combinator functions
|
2017-10-10 15:37:31 +02:00 |
|
Niklas Keller
|
50b37b23ef
|
Add asyncCall
|
2017-05-03 15:21:49 +02:00 |
|
Niklas Keller
|
141875b133
|
🔥 Kill pipe and capture
Use Amp\call instead.
|
2017-05-02 18:32:59 +02:00 |
|
Aaron Piotrowski
|
da9b724f5b
|
getIterator → iterate
|
2017-05-02 07:07:43 +02:00 |
|
Aaron Piotrowski
|
38d53304ae
|
Stream → Iterator
|
2017-05-02 07:07:20 +02:00 |
|
Aaron Piotrowski
|
4992d3ebac
|
Update stream tests
|
2017-05-02 07:06:20 +02:00 |
|
Aaron Piotrowski
|
a096a36f9a
|
Emitter::resolve → Emitter::complete
|
2017-05-02 07:04:30 +02:00 |
|
Aaron Piotrowski
|
7e6eb3689e
|
Update stream functions
|
2017-05-02 07:04:30 +02:00 |
|
Niklas Keller
|
1286087c06
|
Rename Pause to Delayed
Pause doesn't cover the delayed value use case.
|
2017-05-02 07:02:02 +02:00 |
|
Niklas Keller
|
e9d48a68d5
|
Rename createRunnable to asyncCoroutine and createCallable to coroutine
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
dc21d094c5
|
Throw error in case the loop throws during wait
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
e1c63c62f4
|
Minor documentation changes
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
65a37484a2
|
Replace UnionTypeError with factory function + minor doc changes
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
70e63a3748
|
Fix code style according to new rules
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
dfa40f5b00
|
Rename wrap to createRunnable and coroutine to createCallable
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
4f8b656513
|
Document wrap and coroutine better by explicitly naming the differences
|
2017-04-24 15:27:04 +02:00 |
|
Niklas Keller
|
fed09e42ac
|
Fix line lengths
|
2017-04-13 18:49:32 +02:00 |
|
Niklas Keller
|
5e545301cd
|
Rename Listener to StreamIterator
|
2017-04-13 18:20:46 +02:00 |
|
Niklas Keller
|
3e8b37f21f
|
Remove Amp\Stream\interval and add delay option to fromIterable
|
2017-04-13 18:05:41 +02:00 |
|
Aaron Piotrowski
|
a0b8de40fb
|
Null deferred refs
|
2017-04-07 12:50:01 -05:00 |
|
Bob Weinand
|
f100d9cd8b
|
Fix possible double resolutions
|
2017-04-07 18:47:44 +02:00 |
|
Bob Weinand
|
c52279065d
|
Remove unnecessary use of temporary variables
|
2017-04-07 18:09:39 +02:00 |
|
Aaron Piotrowski
|
e43f9afc8f
|
Refactor functions to remove circular refs
This will provide for faster garbage collection of unused promises/deferreds/etc.
|
2017-04-07 10:51:57 -05:00 |
|
Aaron Piotrowski
|
cb717952f1
|
Validate number of required promises
|
2017-03-27 11:42:11 -05:00 |
|
Aaron Piotrowski
|
c464e070e4
|
s/fail/succeed
|
2017-03-26 12:53:26 -05:00 |
|
Aaron Piotrowski
|
67f9f4a569
|
Drop lift and Promise\map; add required param to Promise\some
|
2017-03-26 12:34:34 -05:00 |
|
Niklas Keller
|
2aa91a6c25
|
Rename Stream::listen to Stream::onEmit
|
2017-03-21 18:29:51 +01:00 |
|
Niklas Keller
|
ce269fa516
|
Rename Promise::when to Promise::onResolve, resolves #77
|
2017-03-21 17:23:37 +01:00 |
|
Aaron Piotrowski
|
a927b3cb06
|
Separate functions into Promise and Stream namespaces
|
2017-03-15 19:02:04 -05:00 |
|
Aaron Piotrowski
|
6b9ec609c1
|
Add UnionTypeError
|
2017-03-14 13:15:31 -05:00 |
|
Aaron Piotrowski
|
44c5a1b1dc
|
Cleanup React promise adaption
|
2017-03-14 13:15:31 -05:00 |
|