legacy-workflow-test / com.squareup.workflow.legacy.test.rx2 / eventChannelOf

eventChannelOf

fun <E : Any> eventChannelOf(vararg values: E): EventChannel<E>

Creates an EventChannel that will send all the values passed, and then throw if another select is attempted.