offer

fun offer(element: E): Boolean (source)

Overrides SendChannel.offer

Platform and version requirements: JVM

Sends the value to all subscribed receives and stores this value as the most recent state for future subscribers. This implementation always returns true. It throws exception if the channel isClosedForSend (see close for details).