Presence
The entrypoint for all actions that relate presence of other peers known by the current peer, either directly or through other peers.
You don't create one directly but can access it from a particular Ditto
instance via its presence
property.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
Request information about Ditto peers in the local peer-to-peer network. The V3 observer differs from observePeersV2
by delivering strongly typed objects with documentation in addition to an easy way to get a JSON representation of the presence object graph.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Invoked by rust when there is an update to presence data.