@maiar-ai/core / AnalyticsTracker
Interface: AnalyticsTracker
Defined in: packages/core/src/runtime/managers/analytics/types.ts:1
Properties​
id​
readonlyid:string
Defined in: packages/core/src/runtime/managers/analytics/types.ts:2
Methods​
beforeExecution()?​
optionalbeforeExecution(context):void|Promise<void>
Defined in: packages/core/src/runtime/managers/analytics/types.ts:4
Parameters​
context​
Returns​
void | Promise<void>
afterExecution()?​
optionalafterExecution(context,result):AnalyticsData|Promise<AnalyticsData>
Defined in: packages/core/src/runtime/managers/analytics/types.ts:5
Parameters​
context​
result​
unknown
Returns​
AnalyticsData | Promise<AnalyticsData>
onError()?​
optionalonError(context,error):AnalyticsData|Promise<AnalyticsData>
Defined in: packages/core/src/runtime/managers/analytics/types.ts:9
Parameters​
context​
error​
Error
Returns​
AnalyticsData | Promise<AnalyticsData>