@epikodelabs/actionstack / registerThunks
Function: registerThunks()
registerThunks(
module):void
Defined in: actions.ts:92
Registers all thunks defined in a feature module into the global 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 overwritten.
Parameters
module
The feature module containing thunks to be registered.
Returns
void