# Function

Source:
  - constructors/extensions/prototype.js, line 2542

### Methods

#### runInWorker(data, cb, keep) → {Worker}

Source:
  - constructors/extensions/prototype.js, line 2590

##### Parameters:

Name | Type | Description
--- | --- | ---
`data` | any |
`cb` | ExtensionsPrototype.Function_runInWorker |
`keep` | boolean | keep worker after first execution instead of destroy it

##### Returns:

Type
  Worker

#### toWorker() → {Worker}

Source:
  - constructors/extensions/prototype.js, line 2567

##### Returns:

Type
  Worker

#### toWorkerURL() → {string}

Source:
  - constructors/extensions/prototype.js, line 2546

##### Returns:

Type
  string