- Preparing search index...
- The search index is not available
Kosmos v26.1.1
Class ReactionsEventGenerator
Properties
tableName
tableName: string
Methods
Private getEdgeEventDetail
- getEdgeEventDetail(context: KosmosUserContext<object>, action: EdgeEventName, label: string, args: Record<string, any>, entity: ItemWithId): EventDetail
-
Parameters
-
-
action: EdgeEventName
-
label: string
-
args: Record<string, any>
-
Private getEventKeys
- getEventKeys(event: EventDetail): EventKey[]
-
Returns EventKey[]
Private getEventListeners
- getEventListeners(eventKeys: EventKey[]): Promise<Item[]>
-
Returns Promise<Item[]>
Private getGenericEventDetail
- getGenericEventDetail(context: KosmosUserContext<object>, action: string, label: string, args: Record<string, any>): GenericEventDetail
-
Parameters
-
-
action: string
-
label: string
-
args: Record<string, any>
Returns GenericEventDetail
Private getServiceEventDetail
- getServiceEventDetail(context: KosmosUserContext<object>, action: string, label: string, args: Record<string, any>, item?: ItemWithId): EventDetail
-
Parameters
-
-
action: string
-
label: string
-
args: Record<string, any>
-
Private getVertexEventDetail
- getVertexEventDetail(context: KosmosUserContext<object>, action: VertexEventName, label: string, args: Record<string, any>, entity: ItemWithId): EventDetail
-
Parameters
-
-
action: VertexEventName
-
label: string
-
args: Record<string, any>
-
Private handleEvent
- handleEvent(event: EventDetail): Promise<void>
-
Returns Promise<void>
triggerEdgeEvent
- triggerEdgeEvent(context: KosmosUserContext<object>, action: EdgeEventName, label: string, args: Record<string, any>, edge: ItemWithId): Promise<void>
-
Parameters
-
-
action: EdgeEventName
-
label: string
-
args: Record<string, any>
-
Returns Promise<void>
triggerServiceEvent
- triggerServiceEvent(context: KosmosUserContext<object>, action: string, label: string, args: Record<string, any>, item?: ItemWithId): Promise<void>
-
Parameters
-
-
action: string
-
label: string
-
args: Record<string, any>
-
Returns Promise<void>
triggerVertexEvent
- triggerVertexEvent(context: KosmosUserContext<object>, action: VertexEventName, label: string, args: Record<string, any>, entity: ItemWithId): Promise<void>
-
Parameters
-
-
action: VertexEventName
-
label: string
-
args: Record<string, any>
-
Returns Promise<void>