Fetcher

Fetcher

Represents the fetcher process

Constructor

new Fetcher()

Source:

Creates a fethcer

Extends

Members

url

Source:

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:

Gets the running process started

Returns:
Type
ProgressPromise

getDependecyFetchResults() → {ProgressPromise}

Source:

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:

Set paremeters

Parameters:
Name Type Description
parameters Object

The parameters to be passed to the url

Returns:
  • Object of the fetcher
Type
Fetcher