receive

@Nullable
open fun receive(timeoutMs: Long): String

Parameters

timeoutMs

the timeout in milliseconds or -1 for no timeout