Skip to content

Runnable

Properties

cancelled

cancelled: boolean


onCancel

onCancel: null | () => void


onStart

onStart: null | () => void


onStop

onStop: null | () => void


running

running: boolean

Methods

cancel()

cancel(): void

Returns

void


isCancelled()

isCancelled(): boolean

Returns

boolean


isRunning()

isRunning(): boolean

Returns

boolean


start()

start(): void

Returns

void


stop()

stop(): void

Returns

void