1
0
mirror of https://github.com/danog/amp.git synced 2025-01-22 21:31:18 +01:00

13 Commits

Author SHA1 Message Date
Aaron Piotrowski
493e59e8ab
Throw unhandled Future failures to the event loop 2021-09-20 18:36:44 -05:00
Aaron Piotrowski
ca122a9035
Update for Revolt changes 2021-09-19 10:20:04 -05:00
Aaron Piotrowski
24a1dce81c
Rename Future::join() to await() 2021-09-18 23:05:16 -05:00
Aaron Piotrowski
0ce29b3b22
Unsubscribe from token in finally 2021-09-18 22:41:58 -05:00
Aaron Piotrowski
b63b26b063
Throw if Future::iterate() is provided something other than futures 2021-09-17 14:52:07 -05:00
Aaron Piotrowski
a7f31d1b98
Fix future completing then cancelling join
If both callbacks are enqueued they may be both invoked, so only throw to the suspension if the promise isn't resolved.
2021-09-16 20:54:19 -05:00
Aaron Piotrowski
de7f7e0b64
Fix some Psalm issues 2021-09-03 18:15:31 -05:00
Aaron Piotrowski
eab76ca303
Cancellable joins 2021-08-29 23:28:25 -05:00
Aaron Piotrowski
7e30ee0c2c
Import Future
Co-authored-by: Niklas Keller <me@kelunik.com>
2021-08-29 12:18:05 -05:00
Aaron Piotrowski
a8d7d71a1a Drop Future and Producer 2016-08-17 21:17:31 -05:00
Aaron Piotrowski
888229d667 Use strict types 2016-08-15 23:46:26 -05:00
Aaron Piotrowski
6d263ffb84 Drop Awaitable from namespace 2016-05-23 22:48:28 -05:00
Aaron Piotrowski
c7f64ce2c0 Initial commit 2016-05-21 09:44:52 -05:00