IMiddlewareEvent
mobx-state-tree - v7.0.1 › IMiddlewareEvent
Hierarchy
-
↳ IMiddlewareEvent
Index
Properties
Properties
allParentIds
• allParentIds: number[]
Defined in src/core/action.ts:37
Id of all events, from root until current (excluding current)
args
• args: any[]
Inherited from IActionContext.args
Defined in src/core/actionContext.ts:20
Event arguments in an array (action arguments for actions)
context
• context: IAnyStateTreeNode
Inherited from IActionContext.context
Defined in src/core/actionContext.ts:15
Event context (node where the action was invoked)
id
• id: number
Inherited from IActionContext.id
Defined in src/core/actionContext.ts:9
Event unique id
name
• name: string
Inherited from IActionContext.name
Defined in src/core/actionContext.ts:6
Event name (action name for actions)
parentActionEvent
• parentActionEvent: IMiddlewareEvent | undefined
Inherited from IActionContext.parentActionEvent
Defined in src/core/actionContext.ts:12
Parent action event object
parentEvent
• parentEvent: IMiddlewareEvent | undefined
Defined in src/core/action.ts:32
Parent event object
parentId
• parentId: number
Defined in src/core/action.ts:30
Parent event unique id
rootId
• rootId: number
Defined in src/core/action.ts:35
Root event unique id
tree
• tree: IAnyStateTreeNode
Inherited from IActionContext.tree
Defined in src/core/actionContext.ts:17
Event tree (root node of the node where the action was invoked)
type
• type: IMiddlewareEventType
Defined in src/core/action.ts:27
Event type