Skip to content

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

Defined in

packages/affine/shared/dist/services/telemetry-service.d.ts:30