EdgeDataChannel.onMessage()

DESCRIPTION

Set the callback to be invoked when the data channel receives a message.

DECLARATION

    var onMessage: EdgeOnMessageCallback? { get set }

PARAMETERS

cb:
The callback to set