MCPcopy Index your code
hub / github.com/pyscript/pyscript / current_target

Function current_target

core/src/stdlib/pyscript/context.py:152–156  ·  view source on GitHub ↗

Get the current output target in worker context.

()

Source from the content-addressed store, hash-verified

150 sync = polyscript.xworker.sync
151
152 def current_target():
153 """
154 Get the current output target in worker context.
155 """
156 return polyscript.target
157
158else:
159 # Main thread context setup.

Callers 2

displayFunction · 0.90
test_current_targetFunction · 0.90

Calls

no outgoing calls

Tested by 1

test_current_targetFunction · 0.72