Skip to main content

ControlledExecutor<T>

Type Parameters

Type Parameter
T

Constructors

new ControlledExecutor()

new ControlledExecutor<T>(task, options?): ControlledExecutor<T>

Parameters

ParameterType
task(param) => void | Promise<void>
options?ControlledExecutorOptions

Returns

ControlledExecutor<T>

Methods

dispose()

dispose(): void

Returns

void


schedule()

schedule(param): void

Parameters

ParameterType
paramT

Returns

void