MCPcopy
hub / github.com/rsxdalv/TTS-WebUI / join

Method join

tts_webui/decorators/decorator_interrupt.py:26–31  ·  view source on GitHub ↗

Wait until acknowledge() is called after interrupt().

(self, timeout=None)

Source from the content-addressed store, hash-verified

24 self._ack_event.set()
25
26 async def join(self, timeout=None):
27 """Wait until acknowledge() is called after interrupt()."""
28 try:
29 await asyncio.wait_for(self._ack_event.wait(), timeout)
30 except asyncio.TimeoutError:
31 raise RuntimeError("Timeout waiting for interruption to be acknowledged.")
32
33
34_interruption_flags = {}

Callers 15

start_database_and_apiFunction · 0.80
serveFunction · 0.80
extension_managerFunction · 0.80
open_folder.pyFile · 0.80
get_path_from_rootFunction · 0.80
_get_modelsFunction · 0.80
StringifyParamsFunction · 0.80
write_logFunction · 0.80
fnFunction · 0.80
_create_base_filenameFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected