FusReportDispatcher

Dispatches validated reports to the backend. Implementations typically serialize the report to JSON and send it over HTTP.

Functions

Link copied to clipboard
open suspend fun close()

Called when FusClient is closed.

Link copied to clipboard
abstract suspend fun flush()

Pushes events that are held back by the dispatcher into the event queue.

Link copied to clipboard
abstract suspend fun queueEvent(event: E)
Link copied to clipboard
abstract suspend fun scheduleSend()
Link copied to clipboard
abstract suspend fun send(): Boolean