Add MuJoCo Studio threaded/passive launch function

PiperOrigin-RevId: 941043766
Change-Id: I5b75d0a2b183d402e8ce221883c2734255e87f0f
This commit is contained in:
Matija Kecman
2026-07-01 05:50:01 -07:00
committed by Copybara-Service
parent f73e1b6865
commit cab191755a
3 changed files with 240 additions and 1 deletions
@@ -58,7 +58,14 @@ class SnapshotChannel(Protocol):
"""Channel to transport Snapshot messages with latest-wins semantics."""
def put(self, value: Snapshot) -> None:
"""Overwrites the latest snapshot of the same type."""
"""Overwrites the latest snapshot of the same type.
After calling put() it is the caller's responsibility to ensure it no longer
holds a reference to the snapshot.
Args:
value: The snapshot to put into the channel.
"""
...
def get(self) -> list[Snapshot]: