Documentation / @blazetrails/activesupport / Executor
Class: Executor
Defined in: packages/activesupport/lib/executor.ts:6
Extends
Constructors
Constructor
new Executor():
Executor
Returns
Executor
Inherited from
Properties
runCallbacks
runCallbacks: (...
args) =>unknown
Defined in: packages/activesupport/lib/callbacks.ts:1277
Parameters
| Parameter | Type |
|---|---|
...args | [string, () => unknown, RunCallbacksOptions, CallbackKind] |
Returns
unknown
Inherited from
_activeKey?
staticoptional_activeKey?:symbol
Defined in: packages/activesupport/lib/execution-wrapper.ts:54
Inherited from
CompleteHook
staticCompleteHook: typeofCompleteHook
Defined in: packages/activesupport/lib/execution-wrapper.ts:35
Inherited from
defineCallbacks
staticdefineCallbacks: (...args) =>void
Defined in: packages/activesupport/lib/execution-wrapper.ts:43
Parameters
| Parameter | Type |
|---|---|
...args | (string | DefineCallbacksOptions<any>)[] |
Returns
void
Inherited from
ExecutionWrapper.defineCallbacks
Null
staticNull:CompletableExecution
Defined in: packages/activesupport/lib/execution-wrapper.ts:37
Inherited from
resetCallbacks
staticresetCallbacks: (...args) =>void
Defined in: packages/activesupport/lib/execution-wrapper.ts:45
Parameters
| Parameter | Type |
|---|---|
...args | [string] |
Returns
void
Inherited from
ExecutionWrapper.resetCallbacks
RunHook
staticRunHook: typeofRunHook
Defined in: packages/activesupport/lib/execution-wrapper.ts:33
Inherited from
setCallback
staticsetCallback: (...args) =>void
Defined in: packages/activesupport/lib/execution-wrapper.ts:44
Parameters
| Parameter | Type |
|---|---|
...args | [string, ...filterList: FilterListEntry<any>[]] |
Returns
void
Inherited from
TestHelper
staticTestHelper: {run: (this, ...args) =>Promise<Test>; }
Defined in: packages/activesupport/lib/executor.ts:7
run
run: (
this, ...args) =>Promise<Test>
Parameters
| Parameter | Type |
|---|---|
this | Test |
...args | unknown[] |
Returns
Promise<Test>
Methods
complete()
complete():
unknown
Defined in: packages/activesupport/lib/execution-wrapper.ts:261
Returns
unknown
Inherited from
completeBang()
completeBang():
unknown
Defined in: packages/activesupport/lib/execution-wrapper.ts:247
Returns
unknown
Inherited from
haltedCallbackHook()
haltedCallbackHook(
_filter,_name):void
Defined in: packages/activesupport/lib/callbacks.ts:1278
Parameters
| Parameter | Type |
|---|---|
_filter | unknown |
_name | string |
Returns
void
Inherited from
ExecutionWrapper.haltedCallbackHook
run()
run():
unknown
Defined in: packages/activesupport/lib/execution-wrapper.ts:243
Returns
unknown
Inherited from
runBang()
runBang():
unknown
Defined in: packages/activesupport/lib/execution-wrapper.ts:218
Returns
unknown
Inherited from
active()
staticactive():boolean
Defined in: packages/activesupport/lib/execution-wrapper.ts:206
Returns
boolean
Invented Arm
loop — PERMANENT
Inherited from
activeKey()
staticactiveKey():symbol
Defined in: packages/activesupport/lib/execution-wrapper.ts:198
Returns
symbol
Inherited from
errorReporter()
staticerrorReporter():ErrorReporter
Defined in: packages/activesupport/lib/execution-wrapper.ts:194
Returns
Inherited from
ExecutionWrapper.errorReporter
perform()
staticperform<T>(block):T|Promise<Awaited<T>>
Defined in: packages/activesupport/lib/execution-wrapper.ts:168
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
block | () => T |
Returns
T | Promise<Awaited<T>>
Inherited from
registerHook()
staticregisterHook(hook,__namedParameters?):void
Defined in: packages/activesupport/lib/execution-wrapper.ts:70
Parameters
| Parameter | Type |
|---|---|
hook | ExecutionHook |
__namedParameters | { outer?: boolean; } |
__namedParameters.outer? | boolean |
Returns
void
Inherited from
runBang()
staticrunBang(__namedParameters?):CompletableExecution|Promise<CompletableExecution>
Defined in: packages/activesupport/lib/execution-wrapper.ts:81
Parameters
| Parameter | Type |
|---|---|
__namedParameters | { reset?: boolean; } |
__namedParameters.reset? | boolean |
Returns
CompletableExecution | Promise<CompletableExecution>
Missing Rails Call
delete — PERMANENT
Inherited from
toComplete()
statictoComplete(...args):void
Defined in: packages/activesupport/lib/execution-wrapper.ts:66
Parameters
| Parameter | Type |
|---|---|
...args | FilterListEntry[] |
Returns
void
Inherited from
toRun()
statictoRun(...args):void
Defined in: packages/activesupport/lib/execution-wrapper.ts:62
Parameters
| Parameter | Type |
|---|---|
...args | FilterListEntry[] |
Returns
void
Inherited from
wrap()
staticwrap<T>(block,__namedParameters?):T|Promise<Awaited<T>>
Defined in: packages/activesupport/lib/execution-wrapper.ts:120
Type Parameters
| Type Parameter |
|---|
T |
Parameters
| Parameter | Type |
|---|---|
block | () => T |
__namedParameters | { source?: string; } |
__namedParameters.source? | string |
Returns
T | Promise<Awaited<T>>
Invented Arm
resume — PERMANENT