MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / _submit

Method _submit

trinity/buffer/viewer.py:35–38  ·  view source on GitHub ↗
(self, coro)

Source from the content-addressed store, hash-verified

33 self._loop.run_forever()
34
35 def _submit(self, coro):
36 if self._closed:
37 raise RuntimeError("Viewer storage has been closed.")
38 return asyncio.run_coroutine_threadsafe(coro, self._loop)
39
40 def _run(self, coro):
41 return self._submit(coro).result()

Callers 1

_runMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected