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 |
|
Jáchym Toušek
|
cf12c1c529
|
Fix annotation (#288)
|
2019-10-26 12:39:02 +02:00 |
|
Niklas Keller
|
fa3fe1d20b
|
Apply PSR-2
|
2018-06-18 20:00:01 +02:00 |
|
Aaron Piotrowski
|
992d6e9b39
|
Return named classes
Better for var_dump and stack traces.
|
2018-01-27 19:47:46 +01:00 |
|
Aaron Piotrowski
|
4bbe141718
|
Hide resolution methods
|
2018-01-27 19:47:46 +01:00 |
|
Aaron Piotrowski
|
be3ae73a45
|
Drop multiple definitions of Deferred and Emitter
Closes #144, #157, #173, #189, #190.
|
2017-12-16 00:00:56 -06:00 |
|
Aaron Piotrowski
|
6ec8757698
|
Use references instead of function invocation
|
2017-06-05 00:19:34 -05:00 |
|
Aaron Piotrowski
|
b354b04779
|
Fix code style
|
2017-06-05 00:10:13 -05:00 |
|
Aaron Piotrowski
|
02eb0340f1
|
Use anonymous classes in Deferred and Emitter
|
2017-06-04 23:59:23 -05:00 |
|
Aaron Piotrowski
|
da9b724f5b
|
getIterator → iterate
|
2017-05-02 07:07:43 +02:00 |
|
Aaron Piotrowski
|
45481a710c
|
Squash leftover Stream references
|
2017-05-02 07:07:33 +02:00 |
|
Aaron Piotrowski
|
38d53304ae
|
Stream → Iterator
|
2017-05-02 07:07:20 +02:00 |
|
Aaron Piotrowski
|
a096a36f9a
|
Emitter::resolve → Emitter::complete
|
2017-05-02 07:04:30 +02:00 |
|
Ciaran Kelly
|
0e4d4b492e
|
Add missing namespace declarations
|
2017-04-15 23:16:50 +01:00 |
|
Niklas Keller
|
b810ff1034
|
Use eval to prevent multiple definitions warnings for Emitter and Deferred
|
2017-04-13 18:04:51 +02:00 |
|
Niklas Keller
|
0be9ae9ade
|
Switch from AsyncInterop\Promise to Amp\Promise
|
2017-03-10 21:58:46 +01:00 |
|
Niklas Keller
|
ae69e92266
|
Update to promise 0.4.0 and event-loop 0.5.0, add humbug config
|
2017-01-07 13:47:45 +01:00 |
|
Aaron Piotrowski
|
9ff73ac681
|
Swap production and dev definitions for Deferred and Emitter
|
2017-01-04 10:24:51 -06:00 |
|
Aaron Piotrowski
|
210b6ff258
|
Observable → Stream
|
2017-01-03 19:10:27 -06:00 |
|
Aaron Piotrowski
|
5651240615
|
Update to promise spec v0.3
Dropped strict-types due to spec requiring weak types in callbacks.
|
2016-12-29 16:29:27 -06:00 |
|
Aaron Piotrowski
|
9927ad5b4f
|
Awaitable → Promise
|
2016-11-14 13:59:21 -06:00 |
|
Aaron Piotrowski
|
0992eaea89
|
CallableFromMethod -> CallableMaker
|
2016-08-30 10:34:17 -05:00 |
|
Aaron Piotrowski
|
448391531e
|
Add CallableFromMethod trait
|
2016-08-29 18:35:49 -05:00 |
|
Aaron Piotrowski
|
96e1178b89
|
Code, docblock, and comment cleanup
|
2016-08-17 22:25:54 -05:00 |
|
Aaron Piotrowski
|
d4e83490c2
|
Drop unsubscribing from Observable
|
2016-08-17 21:11:03 -05:00 |
|
Aaron Piotrowski
|
dae4eb90da
|
Better Emitter fix; fail observable if emitted awaitable fails
|
2016-08-16 13:07:38 -05:00 |
|
Aaron Piotrowski
|
a8a5a1b3a5
|
Fix Emitter
|
2016-08-16 02:28:47 -05:00 |
|
Aaron Piotrowski
|
888229d667
|
Use strict types
|
2016-08-15 23:46:26 -05:00 |
|
Bob Weinand
|
dcf17e3f98
|
Optimize Producer & remove wait until first subscribe
Also delay first emit in Emitter until next tick
|
2016-08-14 16:57:17 +02:00 |
|
Aaron Piotrowski
|
69ec812bc0
|
Require PHP 7
|
2016-08-11 14:52:40 -05:00 |
|
Aaron Piotrowski
|
658edf33f7
|
Use Closure::fromCallable() in 7.1
|
2016-08-11 13:33:51 -05:00 |
|
Aaron Piotrowski
|
9839343bbb
|
Remove default value from emit
|
2016-07-19 13:10:15 -05:00 |
|
Aaron Piotrowski
|
c4e9a19095
|
Rename Emitter to Producer; add new Emitter class
Emitter uses a coroutine to emit values. Updated examples.
|
2016-06-01 11:19:19 -05:00 |
|
Aaron Piotrowski
|
cc431a0374
|
Prevent emit without subscribers
|
2016-05-31 23:02:59 -05:00 |
|
Aaron Piotrowski
|
57e25f9354
|
Simpler implementation
|
2016-05-29 11:46:58 -05:00 |
|
Aaron Piotrowski
|
99eecc1a3f
|
Refactor
|
2016-05-26 18:20:05 -05:00 |
|
Aaron Piotrowski
|
a9362780ed
|
Initial commit
|
2016-05-24 11:47:14 -05:00 |
|