UNPKG

@altostra/core

Version:

Core library for shared types and logic

6 lines (5 loc) 240 B
import type { IDisposable } from "../common/IDisposable"; import type { TelemetryEvent } from "./TelemetryEvent"; export interface ITelemetryAgent<T extends string> extends IDisposable { send(event: TelemetryEvent<T>): Promise<void>; }