MCPcopy Index your code
hub / github.com/google/adk-python / create_thread

Function create_thread

src/google/adk/platform/thread.py:27–31  ·  view source on GitHub ↗

Creates a thread.

(target: Callable[..., None], *args, **kwargs)

Source from the content-addressed store, hash-verified

25
26
27def create_thread(target: Callable[..., None], *args, **kwargs):
28 """Creates a thread."""
29 if internal_thread:
30 return internal_thread.create_thread(target, *args, **kwargs)
31 return threading.Thread(target=target, args=args, kwargs=kwargs)

Callers 1

runMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected