# Worker wx.createWorker(string scriptPath)

Start from base library version 1.9.90. Please remaining backward compatible.

Creates a worker thread. You can create only one worker at most. Call Worker.terminate before creating another worker.

# Parameters

# string scriptPath

The absolute path to the worker entry file.

# Return Values

# Worker

Worker object