MultiFetcher

MultiFetcher

Represents the multiple fetcher process

Constructor

new MultiFetcher()

Source:

Creates a fethcer

Extends

Members

fetchers

Source:

Gets the Fetchers

url

Source:
Inherited From:

Gets the url

Methods

addPostProcess(callback) → {Process}

Source:
Inherited From:

Adds callback process the output process

Parameters:
Name Type Description
callback
Returns:
Type
Process

addPreProcess(dependency) → {Process}

Source:
Inherited From:

Adds dependency to the processor

Parameters:
Name Type Description
dependency Dependency
Returns:
Type
Process

get() → {ProgressPromise}

Source:
Overrides:

Gets the executed Promise

Returns:

progressPromise - Promise which alerts progresss

Type
ProgressPromise

getDependecyFetchResults() → {ProgressPromise}

Source:
Inherited From:

Get Dependency results

Returns:
Type
ProgressPromise

hasDependencies() → {boolean}

Source:
Inherited From:

Checks if processor has dependencies

Returns:
  • Boolean value of the result
Type
boolean

performPostProcess(data) → {Object}

Source:
Inherited From:

Performs post process after the process has ended

Parameters:
Name Type Description
data Object
Returns:
Type
Object

performPreProcess() → {Process}

Source:
Inherited From:

Performs pre process

Returns:
Type
Process

postProcess(callback) → {Process}

Source:
Inherited From:
Deprecated:
  • Use addPostProcess

Adds callback process the output process

Parameters:
Name Type Description
callback
Returns:
Type
Process

preProcess(dependency) → {Process}

Source:
Inherited From:
Deprecated:
  • Use addPreProcess

Adds dependency to the processor

Parameters:
Name Type Description
dependency Dependency

The

Returns:
Type
Process

setParameters(parameters) → {Fetcher}

Source:
Inherited From:

Set paremeters

Parameters:
Name Type Description
parameters Object

The parameters to be passed to the url

Returns:
  • Object of the fetcher
Type
Fetcher