Learn how to set up a document connection for your MeshAgent.
DocumentConnectionScope
is a builder widget that manages the lifecycle of a document connection in a MeshAgent application.
path
(string): Path to the document.room
(RoomClient): Instance of RoomClient
to manage the connection.builder
(function): A callback function that takes the current context, the loaded MeshDocument
, and any error that occurred during loading.Widget
: A widget that builds based on the state of the document connection.Learn how to set up a document connection for your MeshAgent.
DocumentConnectionScope
is a builder widget that manages the lifecycle of a document connection in a MeshAgent application.
path
(string): Path to the document.room
(RoomClient): Instance of RoomClient
to manage the connection.builder
(function): A callback function that takes the current context, the loaded MeshDocument
, and any error that occurred during loading.Widget
: A widget that builds based on the state of the document connection.