IActionTrackingMiddlewareHooks
mobx-state-tree - v7.0.0 › IActionTrackingMiddlewareHooks
Type parameters
▪ T
Hierarchy
- IActionTrackingMiddlewareHooks
Index
Properties
Properties
Optional
filter
• filter? : undefined | function
Defined in src/middlewares/create-action-tracking-middleware.ts:6
onFail
• onFail: function
Defined in src/middlewares/create-action-tracking-middleware.ts:11
Type declaration:
▸ (call
: IMiddlewareEvent, context
: T, error
: any): void
Parameters:
Name | Type |
---|---|
call | IMiddlewareEvent |
context | T |
error | any |
onResume
• onResume: function
Defined in src/middlewares/create-action-tracking-middleware.ts:8
Type declaration:
▸ (call
: IMiddlewareEvent, context
: T): void
Parameters:
Name | Type |
---|---|
call | IMiddlewareEvent |
context | T |
onStart
• onStart: function
Defined in src/middlewares/create-action-tracking-middleware.ts:7
Type declaration:
▸ (call
: IMiddlewareEvent): T
Parameters:
Name | Type |
---|---|
call | IMiddlewareEvent |
onSuccess
• onSuccess: function
Defined in src/middlewares/create-action-tracking-middleware.ts:10
Type declaration:
▸ (call
: IMiddlewareEvent, context
: T, result
: any): void
Parameters:
Name | Type |
---|---|
call | IMiddlewareEvent |
context | T |
result | any |
onSuspend
• onSuspend: function
Defined in src/middlewares/create-action-tracking-middleware.ts:9
Type declaration:
▸ (call
: IMiddlewareEvent, context
: T): void
Parameters:
Name | Type |
---|---|
call | IMiddlewareEvent |
context | T |