publishAllEvents

open fun publishAllEvents()

Publishes all stored events to all registered network endpoints after applying the required event format transforms. Stored events will be deleted if publishing was successful for all registered endpoints. This method should NOT be called from the main thread.