MCPcopy Index your code
hub / github.com/omkarcloud/botasaurus / thread_target

Function thread_target

botasaurus/browser_decorator.py:342–344  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

340 def async_wrapper(*args, **kwargs):
341 from threading import Thread
342 def thread_target():
343 result = wrapper_browser(*args, **kwargs)
344 async_result.set_result(result)
345
346 thread = Thread(target=thread_target, daemon=True)
347 thread.start()

Callers

nothing calls this directly

Calls 2

wrapper_browserFunction · 0.85
set_resultMethod · 0.80

Tested by

no test coverage detected