onMessagePublished

This callback is invoked when SyncStream has successfully published a message.

Parameters

context

Context indicating if change was local or remote.

message

Snapshot of the received message.