Skip to content

Latest commit

 

History

History
25 lines (15 loc) · 781 Bytes

File metadata and controls

25 lines (15 loc) · 781 Bytes

Home > @snowplow/browser-tracker > setBufferSize

setBufferSize() function

Set the buffer size Can be useful if you want to stop batching requests to ensure events start sending closer to event creation

Signature:

declare function setBufferSize(newBufferSize: number, trackers?: Array<string>): void;

Parameters

Parameter Type Description
newBufferSize number The value with which to update the bufferSize to
trackers Array<string> The tracker identifiers which will be flushed

Returns:

void