@epikodelabs/actionstack / registerThunks
Function: registerThunks()
registerThunks(
module,registry):void
Defined in: actions.ts:87
Registers all thunks defined in a feature module into the store's thunk registry.
This allows the store's middleware to automatically invoke thunks when their triggers match a dispatched action.
If a thunk is already registered under the same type, a warning is logged and the existing thunk is preserved.
Parameters
module
The feature module containing thunks to be registered.
registry
The store's action registry.
Returns
void