BlockSuite API Documentation / @blocksuite/blocks / TelemetryService
Interface: TelemetryService
Methods
track()
track<
T
>(eventName
,props
):void
Type parameters
• T extends keyof TelemetryEventMap
Parameters
• eventName: T
• props: TelemetryEventMap
[T
]
Returns
void
Source
packages/blocks/src/root-block/root-service.ts:106