Interface: Middleware()
Defined in: types.ts:157
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:158
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
any
Returns
(
next
): (action
) =>any
Parameters
next
Function
Returns
(
action
):any
Parameters
action
Returns
any
Properties
signature?
optional
signature:string
Defined in: types.ts:159