CancellationToken
in package
Custom Mindee HTTP cancellation token for polling.
Table of Contents
Properties
- $isCanceled : bool
Methods
- cancel() : void
- Flags the token as canceled.
- isCanceled() : bool
- Checks whether the token is canceled.
- isCancelled() : bool
- Checks whether the token is canceled, but in British.
Properties
$isCanceled
private
bool
$isCanceled
= false
Methods
cancel()
Flags the token as canceled.
public
cancel() : void
isCanceled()
Checks whether the token is canceled.
public
isCanceled() : bool
Return values
bool —whether the token is canceled.
isCancelled()
Checks whether the token is canceled, but in British.
public
isCancelled() : bool
Return values
bool —whether the token is canceled.