flush

abstract var flush: () -> PromiseLike<Void>??(source)

Optional flush function which will give this sender a chance to send any remaining events as its TelemetryLogger is being disposed

Online Documentation