MCPcopy
hub / github.com/chidiwilliams/buzz / stop

Method stop

tests/mock_sounddevice.py:150–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

148 seek = 0
149
150 def stop(self):
151 self._stop_event.set()
152 if self.thread.is_alive():
153 self.thread.join(timeout=5)
154
155 def close(self):
156 self.stop()

Callers 4

closeMethod · 0.95
__exit__Method · 0.95
test_translatorMethod · 0.45

Calls 1

setMethod · 0.80

Tested by 2

test_translatorMethod · 0.36