MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / wait_emotions

Method wait_emotions

src/puppets/live2d.py:87–92  ·  view source on GitHub ↗
(self, object, result)

Source from the content-addressed store, hash-verified

85
86 self.webview.evaluate_javascript(script, len(script), callback=update_position)
87
88 def wait_emotions(self, object, result):
89 if not self.loaded:
90 return
91 value = self.webview.evaluate_javascript_finish(result)
92 self._expressions_raw = json.loads(value.to_string())
93 self._wait_js.set()
94
95 def get_expressions(self) -> list[str]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected