EmptyCancellation.ts
19 lines
| 396 B
| video/mp2t
|
TypeScriptLexer
|
|
r9 | import { ICancellation } from "./ICancellation"; | |
| export class EmptyCancellation implements ICancellation { | |||
| isSupported(): boolean { | |||
| return false; | |||
| } | |||
| throwIfRequested(): void { | |||
| } | |||
| isRequested(): boolean { | |||
| return false; | |||
| } | |||
| register(_cb: () => void): void { | |||
| } | |||
| static readonly default : EmptyCancellation = new EmptyCancellation(); | |||
| } |
