Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / unregisterActionHandlers

Function: unregisterActionHandlers()

unregisterActionHandlers(module, registry): void

Defined in: actions.ts:67

Unregisters all action handlers associated with a feature module.

This function removes the module's action handlers from the registry, effectively disabling those actions from being handled after the module is destroyed.

Parameters

module

FeatureModule

The feature module whose action handlers should be removed.

registry

ActionRegistry

The store's action registry.

Returns

void

Released under the GNU AGPL v3.