reference
Interface: JobStorage
job/storage.JobStorage
Implemented by
Table of contents
Methods
Methods
setJob
▸ setJob(jobId
, state
, results?
, error?
): Promise
<void
>
Parameters
Name | Type |
---|---|
jobId | string |
state | TaskState |
results? | unknown |
error? | Error |
Returns
Promise
<void
>
Defined in
getJob
▸ getJob(jobId
): Promise
<null
| SerializedJob
<unknown
>>
Parameters
Name | Type |
---|---|
jobId | string |
Returns
Promise
<null
| SerializedJob
<unknown
>>