Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 794 Bytes

File metadata and controls

25 lines (15 loc) · 794 Bytes

Home > @snowplow/browser-tracker > flushBuffer

flushBuffer() function

Send all events in the outQueue Only need to use this when sending events with a bufferSize of at least 2

Signature:

declare function flushBuffer(configuration?: FlushBufferConfiguration, trackers?: Array<string>): void;

Parameters

Parameter Type Description
configuration FlushBufferConfiguration The configuration to use following flushing the buffer
trackers Array<string> The tracker identifiers which will be flushed

Returns:

void