Get the current output target in worker context.
()
| 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 | |
| 158 | else: |
| 159 | # Main thread context setup. |
no outgoing calls