MCPcopy Create free account
hub / github.com/NativeScript/SimDeck / latest_keyframe

Method latest_keyframe

packages/server/src/simulators/session.rs:196–198  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

194 }
195
196 pub fn latest_keyframe(&self) -> Option<SharedFrame> {
197 self.inner.latest_keyframe.read().unwrap().clone()
198 }
199
200 pub async fn wait_for_keyframe(&self, timeout_duration: Duration) -> Option<SharedFrame> {
201 self.inner.native.set_client_foreground(true);

Callers 1

wait_for_keyframeMethod · 0.80

Calls 1

cloneMethod · 0.65

Tested by

no test coverage detected