MCPcopy
hub / github.com/omkarcloud/botasaurus / thread_target

Function thread_target

botasaurus/task_decorator.py:214–216  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

212 from threading import Thread
213
214 def thread_target():
215 result = wrapper_requests(*args, **kwargs)
216 async_result.set_result(result)
217
218 thread = Thread(target=thread_target, daemon=True)
219 thread.start()

Callers

nothing calls this directly

Calls 2

set_resultMethod · 0.80
wrapper_requestsFunction · 0.70

Tested by

no test coverage detected