Class: IDResolutionJob
Defined in: | src/id-resolution-job.coffee |
Instance Method Summary
- - (void) constructor(uid, service) Constructor
- - (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.
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