Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / getActionHandlers

Function: getActionHandlers()

getActionHandlers(type, registry): ActionHandler<any, any> | undefined

Defined in: actions.ts:34

Retrieves the registered handler function for a specific action type.

Parameters

type

string

The action type to look up.

registry

ActionRegistry

The store's action registry.

Returns

ActionHandler<any, any> | undefined

The handler function associated with the action type, or undefined if none is registered.

Released under the GNU AGPL v3.