OptionalclosedIf the underlying channel is closed before calling SyncMessagePort.receiveMessage or while a call is pending, return this value.
OptionaltimeoutThe time (in milliseconds) to wait for a message before returning timeoutValue (if set) or throwing a [TimeoutException] otherwise.
Optionaltimeout
Options that can be passed to SyncMessagePort.receiveMessage.