1
0
mirror of https://github.com/danog/amp.git synced 2024-11-27 04:24:42 +01:00
Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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