trySendEvent

fun trySendEvent(event: SnackbarEvent): ChannelResult<Unit>

Attempts to send a SnackbarEvent synchronously without suspending.

Return

A ChannelResult indicating whether the event was successfully sent.

Parameters

event

The SnackbarEvent to send.