UNPKG

@aws-amplify/analytics

Version:

Analytics category of aws-amplify

11 lines (10 loc) • 402 B
import { AmplifyContext } from '@aws-amplify/core'; export declare function flushEvents(ctx: AmplifyContext): void; /** * Flushes all buffered Kinesis events to the service. * * @note * This API will make a best-effort attempt to flush events from the buffer. Events recorded immediately after invoking * this API may not be included in the flush. */ export declare function flushEvents(): void;