Skip to main content
Version: 0.17

Interface: Performer<Type, Data, Options, Result>

Classes that can perform tasks should implement the Performer interface.

Type parameters

NameType
Typestring
Dataunknown
Optionsunknown
Resultunknown

Methods

perform

perform(task): Promise<Result>

Parameters

NameType
taskTask<Type, Data, Options>

Returns

Promise<Result>

Defined in

packages/@orbit/core/src/task.ts:26