Skip to content

Documentation


Documentation / @blazetrails/activesupport / Executor

Class: Executor ​

Defined in: packages/activesupport/lib/executor.ts:6

Extends ​

Constructors ​

Constructor ​

new Executor(): Executor

Returns ​

Executor

Inherited from ​

ExecutionWrapper.constructor

Properties ​

runCallbacks ​

runCallbacks: (...args) => unknown

Defined in: packages/activesupport/lib/callbacks.ts:1277

Parameters ​

ParameterType
...args[string, () => unknown, RunCallbacksOptions, CallbackKind]

Returns ​

unknown

Inherited from ​

ExecutionWrapper.runCallbacks


_activeKey? ​

static optional _activeKey?: symbol

Defined in: packages/activesupport/lib/execution-wrapper.ts:54

Inherited from ​

ExecutionWrapper._activeKey


CompleteHook ​

static CompleteHook: typeof CompleteHook

Defined in: packages/activesupport/lib/execution-wrapper.ts:35

Inherited from ​

ExecutionWrapper.CompleteHook


defineCallbacks ​

static defineCallbacks: (...args) => void

Defined in: packages/activesupport/lib/execution-wrapper.ts:43

Parameters ​

ParameterType
...args(string | DefineCallbacksOptions<any>)[]

Returns ​

void

Inherited from ​

ExecutionWrapper.defineCallbacks


Null ​

static Null: CompletableExecution

Defined in: packages/activesupport/lib/execution-wrapper.ts:37

Inherited from ​

ExecutionWrapper.Null


resetCallbacks ​

static resetCallbacks: (...args) => void

Defined in: packages/activesupport/lib/execution-wrapper.ts:45

Parameters ​

ParameterType
...args[string]

Returns ​

void

Inherited from ​

ExecutionWrapper.resetCallbacks


RunHook ​

static RunHook: typeof RunHook

Defined in: packages/activesupport/lib/execution-wrapper.ts:33

Inherited from ​

ExecutionWrapper.RunHook


setCallback ​

static setCallback: (...args) => void

Defined in: packages/activesupport/lib/execution-wrapper.ts:44

Parameters ​

ParameterType
...args[string, ...filterList: FilterListEntry<any>[]]

Returns ​

void

Inherited from ​

ExecutionWrapper.setCallback


TestHelper ​

static TestHelper: { run: (this, ...args) => Promise<Test>; }

Defined in: packages/activesupport/lib/executor.ts:7

run ​

run: (this, ...args) => Promise<Test>

Parameters ​
ParameterType
thisTest
...argsunknown[]
Returns ​

Promise<Test>

Methods ​

complete() ​

complete(): unknown

Defined in: packages/activesupport/lib/execution-wrapper.ts:261

Returns ​

unknown

Inherited from ​

ExecutionWrapper.complete


completeBang() ​

completeBang(): unknown

Defined in: packages/activesupport/lib/execution-wrapper.ts:247

Returns ​

unknown

Inherited from ​

ExecutionWrapper.completeBang


haltedCallbackHook() ​

haltedCallbackHook(_filter, _name): void

Defined in: packages/activesupport/lib/callbacks.ts:1278

Parameters ​

ParameterType
_filterunknown
_namestring

Returns ​

void

Inherited from ​

ExecutionWrapper.haltedCallbackHook


run() ​

run(): unknown

Defined in: packages/activesupport/lib/execution-wrapper.ts:243

Returns ​

unknown

Inherited from ​

ExecutionWrapper.run


runBang() ​

runBang(): unknown

Defined in: packages/activesupport/lib/execution-wrapper.ts:218

Returns ​

unknown

Inherited from ​

ExecutionWrapper.runBang


active() ​

static active(): boolean

Defined in: packages/activesupport/lib/execution-wrapper.ts:206

Returns ​

boolean

Invented Arm ​

loop — PERMANENT

Inherited from ​

ExecutionWrapper.active


activeKey() ​

static activeKey(): symbol

Defined in: packages/activesupport/lib/execution-wrapper.ts:198

Returns ​

symbol

Inherited from ​

ExecutionWrapper.activeKey


errorReporter() ​

static errorReporter(): ErrorReporter

Defined in: packages/activesupport/lib/execution-wrapper.ts:194

Returns ​

ErrorReporter

Inherited from ​

ExecutionWrapper.errorReporter


perform() ​

static perform<T>(block): T | Promise<Awaited<T>>

Defined in: packages/activesupport/lib/execution-wrapper.ts:168

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
block() => T

Returns ​

T | Promise<Awaited<T>>

Inherited from ​

ExecutionWrapper.perform


registerHook() ​

static registerHook(hook, __namedParameters?): void

Defined in: packages/activesupport/lib/execution-wrapper.ts:70

Parameters ​

ParameterType
hookExecutionHook
__namedParameters{ outer?: boolean; }
__namedParameters.outer?boolean

Returns ​

void

Inherited from ​

ExecutionWrapper.registerHook


runBang() ​

static runBang(__namedParameters?): CompletableExecution | Promise<CompletableExecution>

Defined in: packages/activesupport/lib/execution-wrapper.ts:81

Parameters ​

ParameterType
__namedParameters{ reset?: boolean; }
__namedParameters.reset?boolean

Returns ​

CompletableExecution | Promise<CompletableExecution>

Missing Rails Call ​

delete — PERMANENT

Inherited from ​

ExecutionWrapper.runBang


toComplete() ​

static toComplete(...args): void

Defined in: packages/activesupport/lib/execution-wrapper.ts:66

Parameters ​

ParameterType
...argsFilterListEntry[]

Returns ​

void

Inherited from ​

ExecutionWrapper.toComplete


toRun() ​

static toRun(...args): void

Defined in: packages/activesupport/lib/execution-wrapper.ts:62

Parameters ​

ParameterType
...argsFilterListEntry[]

Returns ​

void

Inherited from ​

ExecutionWrapper.toRun


wrap() ​

static wrap<T>(block, __namedParameters?): T | Promise<Awaited<T>>

Defined in: packages/activesupport/lib/execution-wrapper.ts:120

Type Parameters ​

Type Parameter
T

Parameters ​

ParameterType
block() => T
__namedParameters{ source?: string; }
__namedParameters.source?string

Returns ​

T | Promise<Awaited<T>>

Invented Arm ​

resume — PERMANENT

Inherited from ​

ExecutionWrapper.wrap