@aws-amplify/analytics
Version:
Analytics category of aws-amplify
11 lines (10 loc) • 406 B
TypeScript
import { AmplifyContext } from '@aws-amplify/core';
export declare function flushEvents(ctx: AmplifyContext): void;
/**
* Flushes all buffered Personalize 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;