MCPcopy Index your code
hub / github.com/pywebio/PyWebIO / get_current_task_id

Method get_current_task_id

pywebio/session/threadbased.py:40–41  ·  view source on GitHub ↗
(cls)

Source from the content-addressed store, hash-verified

38
39 @classmethod
40 def get_current_task_id(cls):
41 return cls._get_task_id(threading.current_thread())
42
43 @staticmethod
44 def _get_task_id(thread: threading.Thread):

Callers 1

next_client_eventMethod · 0.95

Calls 1

_get_task_idMethod · 0.80

Tested by

no test coverage detected