write

fun write(obj: T)

Alias for put.

Parameters

obj

The object to write to the channel