sendEvent

suspend fun sendEvent(event: SnackbarEvent)

Sends a SnackbarEvent to be displayed. This function is suspending and should be called from a coroutine.

Parameters

event

The SnackbarEvent to send.