Daniel Lowrey
2c3a3e65bd
Add offending generator key to coroutine resolution error messages
2015-05-13 01:15:35 -04:00
Daniel Lowrey
cd815b4b99
update changelog for 1.0.0-beta
2015-05-12 15:02:06 -04:00
Daniel Lowrey
82b89043da
update changelog
2015-04-29 11:01:45 -04:00
Daniel Lowrey
22b308793a
update support files
2015-04-27 15:16:26 -04:00
Markus Staab
f004d83cf1
drop $forceNew param in getReactor()
...
At runtime there are no use cases where one would like to re-create the reactor. only multi instance scenario is unit tests, but those don't need to be covered in the public api.
2015-04-27 17:57:44 +02:00
Daniel Lowrey
446e09a95d
Update changelog for v0.16.0
2015-02-18 09:59:48 -05:00
Daniel Lowrey
99e38762a7
- Added Reactor::coroutine()
method
...
- Added `Amp\coroutine()` function
- `YieldCommands` "enum" constant class removed -- yield keys now live in
the reactor class
- New optional `"coroutine"` yield key for self-documenting generator
yields.
- New optional `"async"` yield key for self-documenting promise yields.
- New `"return"` yield key for specifying the return value of a resolved
Generator coroutine. If not specified a resolved coroutine result is
equal to null.
- The final value yielded by a resolved `Generator` is *no longer* used
as its "return" value. Instead, generators must manually use the new
`"return"` yield key specifically to designate the value that should
be used to resolve the promise associated with generator resolution.
- `GeneratorResolver` trait renamed to `CoroutineResolver` and is now an
abstract class extended by the various `Reactor` implementations.
- Implicit "all" array combinator resolution is now removed. Use the
explicit form instead:
```php
function() {
list($a, $b, $c) = (yield 'all' => [$promise1, $promise2, $promise3]);
};
```
2015-02-03 19:41:15 -05:00
Daniel Lowrey
fb60221dcd
Correctly re-enable stream polls in UvReactor
2015-01-21 20:16:33 -05:00
Daniel Lowrey
313e3d3a61
Update CHANGELOG
2015-01-21 16:00:20 -05:00
Daniel Lowrey
abbbb6425d
Update CHANGELOG
2015-01-18 20:16:02 -05:00
Daniel Lowrey
c21068fc94
Update changelog
2014-12-08 11:52:09 -05:00
Daniel Lowrey
ec7b77d156
Update CHANGELOG
2014-12-02 11:52:56 -05:00
Daniel Lowrey
e2422f43ae
Update CHANGELOG
2014-12-02 01:11:06 -05:00
Daniel Lowrey
f32d088c23
Lots of changes ... see CHANGELOG for details
2014-12-01 19:45:57 -05:00
Daniel Lowrey
0d7ab5fc6c
Add Reactor::onError, correctly exit extension reactor loops, replace resolve function with trait
2014-12-01 18:12:26 -05:00
Daniel Lowrey
f686691892
Add Reactor::tick()
2014-11-26 15:53:18 -05:00
Daniel Lowrey
59578f7e8c
Update changelog
2014-11-24 23:18:12 -05:00
Daniel Lowrey
448dd501f3
Update CHANGELOG
2014-11-18 10:08:34 -05:00
Daniel Lowrey
5c46db0c41
Update changelog for 0.13.0
2014-11-05 11:57:59 -05:00
Daniel Lowrey
c28e143828
Remove watchStream() ... aliases are bad
2014-11-05 11:50:46 -05:00
Daniel Lowrey
70222364d5
Use singleton reactor instance in functions
2014-11-04 09:46:12 -05:00
Daniel Lowrey
2fd6538e47
Fix infinite loop on nested immediately watchers in LibeventReactor
2014-10-22 22:18:34 -04:00
Daniel Lowrey
45a99522c1
Update CHANGELOG
2014-10-22 18:15:54 -04:00
Daniel Lowrey
d719e302a6
Fix syntax error
2014-10-20 12:08:09 -04:00
Daniel Lowrey
0b6945b9db
Update CHANGELOG.md
2014-10-20 09:56:01 -04:00
Daniel Lowrey
bd1cf64101
Use global reactor if not passed to Future::__construct()
2014-10-08 16:46:08 -04:00
Daniel Lowrey
b73a33da63
Fix bug causing immediate() callback starvation
2014-09-24 12:22:24 -04:00
Daniel Lowrey
9f40915fe3
Update CHANGELOG
2014-09-24 00:12:03 -04:00
Daniel Lowrey
df47c6f09b
Use string watcher IDs
2014-08-22 14:08:31 -04:00
Daniel Lowrey
1f2420c80c
Allow access to underlying php-uv loop resource
2014-08-19 14:20:04 -04:00
Daniel Lowrey
c7c5b0ba8f
Standardize all watcher invocation params to: func($reactor, $watcherId, $data)
2014-08-09 10:30:32 -04:00
Daniel Lowrey
efcec3d355
Update CHANGELOG
2014-08-06 22:41:08 -04:00
Daniel Lowrey
5eeaf9b90c
update CHANGELOG
2014-08-06 16:04:35 -04:00
Daniel Lowrey
cd062b0541
Update CHANGELOG
2014-08-06 00:37:03 -04:00
Daniel Lowrey
1807f34041
CHANGELOG updates for current master
2014-08-02 02:21:32 -04:00
Daniel Lowrey
c62302b0a1
Update CHANGELOG for v0.10.1
2014-08-02 01:36:02 -04:00
Daniel Lowrey
6777532a66
Added functions, reactor globals
2014-08-01 15:37:02 -04:00
Daniel Lowrey
50d3f84945
Update changelog for next release
2014-07-22 11:47:26 -04:00
Daniel Lowrey
d5b6266a82
Pass Reactor instance to onStart callbacks
2014-07-18 16:56:02 -04:00
Daniel Lowrey
6dceda3daa
Update CHANGELOG for UvReactor
2014-06-12 10:43:40 -04:00
Daniel Lowrey
c2b311eebb
Miscellaneous changes
2014-06-11 12:24:46 -04:00
Daniel Lowrey
a09cc62f81
Update CHANGELOG
2014-06-11 10:09:10 -04:00
Daniel Lowrey
1762f9d69d
Remove concurrency primitives (moved to separate repo)
2014-04-27 00:17:40 -04:00
Daniel Lowrey
d48db61ea9
Use mutable Promisor by default
2014-04-25 22:30:01 -04:00
Daniel Lowrey
156c00eed7
Update CHANGELOG
2014-04-22 23:12:09 -04:00
Daniel Lowrey
7b351454f9
Minor edge-case updates
2014-04-14 17:06:08 -04:00
Daniel Lowrey
ad0a2b571c
Minor updates for tagged release
2014-04-09 16:32:28 -04:00
Daniel Lowrey
1fff25ae79
Update CHANGELOG
2014-04-09 10:39:52 -04:00
Daniel Lowrey
885969ff84
Time intervals now expressed in milliseconds (was seconds)
2014-03-07 12:02:03 -05:00
Daniel Lowrey
4e3a7598ef
Test CHANGELOG and composer.json updates
2014-03-06 21:46:57 -05:00