Skip to content

@epikodelabs/actionstack


@epikodelabs/actionstack / unregisterThunks

Function: unregisterThunks()

unregisterThunks(module, registry): void

Defined in: actions.ts:114

Unregisters all thunks associated with a feature module.

This removes the module's thunks from the registry, preventing them from being triggered automatically after the module is destroyed.

Parameters

module

FeatureModule

The feature module whose thunks should be removed.

registry

ActionRegistry

The store's action registry.

Returns

void

Released under the GNU AGPL v3.