Class: CallbackManager
Constructors
new CallbackManager()
new CallbackManager():
CallbackManager
Returns
Methods
dispatchEvent()
dispatchEvent<
K
>(event
,detail
,sync
?):void
Type Parameters
• K extends keyof LlamaIndexEventMaps
Parameters
• event: K
• detail: LlamaIndexEventMaps
[K
]
• sync?: boolean
Returns
void
Defined in
packages/core/global/dist/index.d.ts:112
off()
off<
K
>(event
,handler
):this
Type Parameters
• K extends keyof LlamaIndexEventMaps
Parameters
• event: K
• handler: EventHandler
<LlamaIndexEventMaps
[K
]>
Returns
this
Defined in
packages/core/global/dist/index.d.ts:111
on()
on<
K
>(event
,handler
):this
Type Parameters
• K extends keyof LlamaIndexEventMaps
Parameters
• event: K
• handler: EventHandler
<LlamaIndexEventMaps
[K
]>
Returns
this
Defined in
packages/core/global/dist/index.d.ts:110