Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / Action

Interface: Action<T>

Defined in: types.ts:21

Describes a standard action object used to signal state changes.

Actions are dispatched to update the state in ActionStack-like stores.

Type Parameters

T

T = any

Type of the action payload. Defaults to any.

Properties

type

type: string

Defined in: types.ts:22


payload?

optional payload: T

Defined in: types.ts:23


error?

optional error: boolean

Defined in: types.ts:24


meta?

optional meta: any

Defined in: types.ts:25


source?

optional source: any

Defined in: types.ts:26

Released under the MIT License.