Aaron Piotrowski
a9362780ed
Initial commit
2016-05-24 11:47:14 -05:00
Aaron Piotrowski
ccec7acc94
Remove Exception namespace
2016-05-24 10:39:19 -05:00
Aaron Piotrowski
5cd2c33d5c
Fix defer queue invocation
2016-05-24 09:36:16 -05:00
Aaron Piotrowski
6d263ffb84
Drop Awaitable from namespace
2016-05-23 22:48:28 -05:00
Aaron Piotrowski
8b42994ec9
Fix exception creation
2016-05-23 21:36:29 -05:00
Aaron Piotrowski
13e807d564
Throw on repeated resolution
2016-05-23 21:32:41 -05:00
Andrew Carter
6c531f59d7
Merge pull request #55 from async-interop/info
...
Add Loop::info
2016-05-23 23:10:35 +01:00
Bob Weinand
9d990a24ca
Loop::info() must be static
2016-05-23 23:51:06 +02:00
Niklas Keller
f94864875d
Add notes about timers
2016-05-23 20:29:10 +02:00
Cees-Jan Kiewiet
c98af47036
s/non/none
2016-05-23 20:20:15 +02:00
Niklas Keller
09d5283f08
Add note that Registry should not be used by drivers
2016-05-23 20:20:15 +02:00
Niklas Keller
d89d1696a8
Add further specification for loop drivers
2016-05-23 20:20:15 +02:00
Bob Weinand
ac116c93b8
Fix missing return inside Loop::info()
2016-05-23 19:06:07 +02:00
Niklas Keller
706bdfa632
Move from keep_alive to watchers array
2016-05-23 19:06:07 +02:00
Niklas Keller
ae36a2011d
Add Loop::info, resolves #44
2016-05-23 19:06:07 +02:00
Aaron Piotrowski
6fc6ad1ab5
Throw instead of returning Failure object
2016-05-23 10:19:48 -05:00
Aaron Piotrowski
28577cf6e6
Add Pause; update for timer watcher changes in loop
2016-05-23 00:44:35 -05:00
Aaron Piotrowski
27a4569b8b
Improve defer queue invocation
2016-05-23 00:37:56 -05:00
Aaron Piotrowski
e1a2e99ca8
Avoid namespace lookup on built-in functions
2016-05-22 23:08:31 -05:00
Aaron Piotrowski
55e0971be1
Update for changes in async-interop
...
Remove use of Registry; switch Yoda conditionals
2016-05-22 22:59:09 -05:00
Aaron Piotrowski
378990fe86
Use $exception instead of passing as callback data
...
Less code this way
2016-05-22 13:43:37 -05:00
Aaron Piotrowski
918e792093
Fix LazyAwaitable
2016-05-22 13:42:38 -05:00
Aaron Piotrowski
b572f9be40
Rename and move Promise
2016-05-22 13:26:53 -05:00
Andrew Carter
8feb808fe8
Merge pull request #57 from async-interop/consistent-repeat-delay-param-order
...
Put $delay and $interval at the first places of their respective methods
2016-05-22 17:42:51 +01:00
Bob Weinand
d0701c20d3
Put $delay and $interval at the first places of their respective methods
...
Closes #54
2016-05-22 18:07:21 +02:00
Aaron Piotrowski
de3ada9014
Cleanup functions; rename any() to first(); remove resolve()
2016-05-22 10:53:13 -05:00
Aaron Piotrowski
b4ea37576e
Execute after CoroutineResult
2016-05-22 09:25:40 -05:00
Bob Weinand
4dce408678
Fix accidental static on LoopDriver::getHandle()
2016-05-22 15:47:41 +02:00
Bob Weinand
eb242de2fb
Merge pull request #56 from async-interop/drop-feature-constants
...
Drop feature constant
2016-05-22 15:35:59 +02:00
Niklas Keller
8418c37d53
Drop feature constant, leftover from #50
2016-05-22 15:34:29 +02:00
Andrew Carter
f2fca2e0a3
Merge pull request #51 from async-interop/supports
...
Drop Loop::supports
2016-05-22 14:26:41 +01:00
Bob Weinand
3655bf7a0d
Merge pull request #1 from amphp/cleanup
...
Fix wait
2016-05-22 12:51:16 +02:00
Niklas Keller
0b954b2515
Fix wait to reuse current default loop
2016-05-22 10:57:31 +02:00
Niklas Keller
9f4d38471d
Remove 'fail', clean up signatures
2016-05-22 10:57:10 +02:00
Aaron Piotrowski
1864b3cbe6
Refactor coroutine return for 5.x
2016-05-22 00:11:03 -05:00
Aaron Piotrowski
9c541b0faa
Rename Lazy to LazyAwaitable
2016-05-21 23:47:50 -05:00
Aaron Piotrowski
a6fbc13d89
Remove defined check
2016-05-21 12:19:48 -05:00
Aaron Piotrowski
345bf78ac2
Double-quote strings
2016-05-21 12:12:55 -05:00
Aaron Piotrowski
a309a243c2
Fix formatting
2016-05-21 12:07:08 -05:00
Aaron Piotrowski
c7f64ce2c0
Initial commit
2016-05-21 09:44:52 -05:00
Niklas Keller
1f526a5cf0
Drop Loop::supports
...
Redefine UnsupportedFeatureException to be only thrown if the system
doesn't support the feature. Drivers MUST support it if PCNTL or something
similar is available.
2016-05-21 13:38:36 +02:00
Bob Weinand
a80e109027
Merge pull request #52 from async-interop/rdlowrey
...
Add Daniel Lowrey to Contributors
2016-05-21 13:31:56 +02:00
Niklas Keller
36fdb6dec1
Add Daniel Lowrey to Contributors
2016-05-21 13:13:51 +02:00
Niklas Keller
8a84f70784
Merge pull request #48 from async-interop/underlying-loop-handle
...
Add getLoopHandle() for accessing the underlying loop
2016-05-21 09:45:54 +02:00
Bob Weinand
a020880d53
getLoopHandle() => getHandle() on Driver only
2016-05-21 01:32:03 +02:00
Bob Weinand
07d3408743
All hail the Lord FIG
...
SIGH!
2016-05-20 13:02:31 +02:00
Bob Weinand
13c93afca4
Merge pull request #30 from async-interop/factory
...
Add LoopDriverFactory
2016-05-20 12:59:21 +02:00
Niklas Keller
1c1e740392
Improve factory error messages
2016-05-20 10:06:50 +02:00
Niklas Keller
f890d37e80
Use default registry to support sync wait, fix error messages
2016-05-20 10:06:50 +02:00
Niklas Keller
665cc7fc5b
Instantiate driver if none exists upon Loop::setFactory to support sync waits
2016-05-20 10:06:50 +02:00