Not documented.

Properties

handler Function
write-only

Sets the handler that is invoked for every incoming message.

sendPort SendPort
read-only

Returns a SendPort that sends to this raw receive port.

Constructors

RawReceivePort([void handler(event)])

Opens a long-lived port for receiving messages.

Methods

close() → void

Closes the port.