InfluxDB 2.0 JavaScript client
Home > @influxdata/influxdb-client > WriteApi > flush
Flushes pending writes to the server.
Signature:
flush(withRetryBuffer?: boolean): Promise<void>;
Parameter | Type | Description |
---|---|---|
withRetryBuffer | boolean | (Optional) flush also all the scheduled retries |
Returns:
Promise<void>
completition promise