@aws-amplify/analytics
Version:
Analytics category of aws-amplify
13 lines (12 loc) • 483 B
TypeScript
import { AmplifyContext } from '@aws-amplify/core';
export declare function flushEvents(ctx: AmplifyContext): void;
/**
* Flushes all buffered Pinpoint events to the service.
*
* @deprecated AWS will end support for Amazon Pinpoint on October 30, 2026.
*
* @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;