Class: FileImporterWorker

FileImporterWorker()

Web worker for parallel file import.

Constructor

new FileImporterWorker()

Source:

Classes

FileImporterWorker

Methods

(async) getSourceFile(params) → {Promise.<IFile>}

Override if you want to source from another source
Parameters:
Name Type Description
params any The parameters object
Source:
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
Source:
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
Source: