Constructor
new FileImporterWorker()
Classes
Methods
(async) getSourceFile(params) → {Promise.<IFile>}
Override if you want to source from another source
Parameters:
Name | Type | Description |
---|---|---|
params |
any | The parameters object |
Returns:
The source file
- Type
- Promise.<IFile>
(async) getTargetFile(params) → {Promise.<(IVirtualFile|null)>}
Override to specify the target file.
Parameters:
Name | Type | Description |
---|---|---|
params |
any | The parameters |
Returns:
The target file
- Type
- Promise.<(IVirtualFile|null)>
(async) receive(worker, event)
Called when message received
Parameters:
Name | Type | Description |
---|---|---|
worker |
FileImporterWorker | The web worker |
event |
any | The event |