Documentation / @andrew_l/app / initThread
Function: initThread() ​
initThread(
threadId,scriptFile,threadProps):ManagedThread
Spawn a child process for scriptFile and return its ManagedThread immediately — synchronously, before the child signals readiness.
Parameters ​
threadId ​
number
scriptFile ​
string
threadProps ​
Record<string, unknown>