Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / ThunkTrigger

Type Alias: ThunkTrigger<TAction>

ThunkTrigger<TAction> = string | (action) => boolean

Defined in: types.ts:97

Defines the trigger types supported by thunks.

  • string: matches an action by its type
  • (action) => boolean: custom predicate matcher

Type Parameters

TAction

TAction extends Action<any> = Action<any>

Released under the MIT License.