mirror of
https://github.com/danog/amp.git
synced 2024-11-26 20:15:00 +01:00
Annotate that throwIfRequested might throw CancelledException
This commit is contained in:
parent
4e822395c9
commit
a660af794b
@ -42,6 +42,8 @@ interface CancellationToken
|
||||
* Throws the `CancelledException` if cancellation has been requested, otherwise does nothing.
|
||||
*
|
||||
* @return void
|
||||
*
|
||||
* @throws CancelledException
|
||||
*/
|
||||
public function throwIfRequested();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user