Class: IDResolutionJob

Defined in: src/id-resolution-job.coffee

Variables Summary

decay =
50

Instance Method Summary

Constructor Details

# (void) constructor(uid, service)

Instance Method Details

# (void) fetchStatus(cb) Bound

# (void) fetchErrorMessage(cb) Bound

# (void) fetchResults(cb) Bound

# (void) del(cb) Bound

# (Promise<Object>) poll(onSuccess, onError, onProgress)

Poll the service until the results are available.

Examples:

Poll a job

job.poll().then (results) -> handle results

Parameters:

  • onSuccess ( Function ) The success handler (optional)
  • onError ( Function ) The error handler for if the job fails (optional).
  • onProgress ( Function ) The progress handler to receive status updates.

Returns:

  • ( Promise<Object> ) — A promise to yield the results.

See also:

    Quickly fuzzy find classes, mixins, methods, file:

    Control the navigation frame:

    You can focus and blur the search input: