Properties
cancel
cancel
: (jobId
: string) => Promise<AsObject>
get
get
: (jobId
: string) => Promise<AsObject>
storageConfig
storage
Config: (jobId: string) => Promise<AsObject>
summary
summary
: (cid
?: undefined | string) => Promise<AsObject>
Type declaration
-
- (cid?: undefined | string): Promise<AsObject>
-
Parameters
-
Optional cid: undefined | string
Returns Promise<AsObject>
watch
watch
: (handler
: (event
: AsObject) => void,
...jobs
: string[]) => () => void
Type declaration
-
- (handler: (event: AsObject) => void, ...jobs: string[]): () => void
-
Parameters
-
handler: (event: AsObject) => void
-
Rest ...jobs: string[]
Returns () => void
Cancel a job.
The id of the job to cancel.