@epikodelabs/actionstack / Middleware
Interface: Middleware()
Defined in: types.ts:215
Interface defining the structure of a middleware function.
Middleware functions are used to intercept, handle, and potentially modify the dispatching process in ActionStack-like stores. This interface defines the expected behavior for a middleware function.
Middleware(
api): (next) => (action) =>any
Defined in: types.ts:216
Interface defining the structure of a middleware function.
Middleware functions are used to intercept, handle, and potentially modify the dispatching process in ActionStack-like stores. This interface defines the expected behavior for a middleware function.
Parameters
api
Returns
(
next): (action) =>any
Parameters
next
Function
Returns
(
action):any
Parameters
action
AsyncAction<any, any> | Action<any>
Returns
any
Properties
signature?
optionalsignature:string
Defined in: types.ts:217