agent-claw: automated task changes
This commit is contained in:
18
cdk/node_modules/aws-cdk/lib/cli/telemetry/sink/sink-interface.d.ts
generated
vendored
Normal file
18
cdk/node_modules/aws-cdk/lib/cli/telemetry/sink/sink-interface.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import type { TelemetrySchema } from '../schema';
|
||||
/**
|
||||
* All Telemetry Clients are Sinks.
|
||||
*
|
||||
* A telemtry client receives event data via 'emit'
|
||||
* and sends batched events via 'flush'
|
||||
*/
|
||||
export interface ITelemetrySink {
|
||||
/**
|
||||
* Recieve an event
|
||||
*/
|
||||
emit(event: TelemetrySchema): Promise<void>;
|
||||
/**
|
||||
* If the implementer of ITelemetrySink batches events,
|
||||
* flush sends the data and clears the cache.
|
||||
*/
|
||||
flush(): Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user