Skip to main content

Properties (2)

Property Type Default Required Description
settings⚓︎ TSettings x

io.Insights settings.

started⚓︎ boolean x

Whether or not this instance is started.

3 Methods

start()⚓︎

() => Promise<void>

Starts publishing data.

stop()⚓︎

() => Promise<void>

Stops publishing data.

waitForFinalExport()⚓︎

(timeoutMs?: number) => Promise<void>

Waits for any pending data to be published, with the option to specify a timeout.

Parameters (1)

Name Type Required Description
timeoutMs⚓︎ number x

maximum time to wait for export