influxdb-client-js

InfluxDB 2.0 JavaScript client

View the Project on GitHub influxdata/influxdb-client-js

Home > @influxdata/influxdb-client > WriteApi > flush

WriteApi.flush() method

Flushes pending writes to the server.

Signature:

flush(withRetryBuffer?: boolean): Promise<void>;

Parameters

Parameter Type Description
withRetryBuffer boolean (Optional) flush also all the scheduled retries

Returns:

Promise<void>

completition promise