mirror of
https://github.com/danog/amp.git
synced 2024-12-04 02:17:54 +01:00
Add @throws CancelledException to Future::await
This commit is contained in:
parent
f2bd72a020
commit
fc9debb885
@ -211,6 +211,8 @@ final class Future
|
||||
* Throws an exception if the operation fails.
|
||||
*
|
||||
* @return T
|
||||
*
|
||||
* @throws CancelledException
|
||||
*/
|
||||
public function await(?Cancellation $cancellation = null): mixed
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user