Interface: IJob

core.IJob

Data structure for native call tasks

Properties:
Name Type Description
callback Function

If the caller needs the result, a Promise will be returned. This field will be the Promise.resolve function.

listen boolean

Is this a onetime call or we should continuously return the result

needsJson boolean

Whether we need to convert the result to JSON object

Members

callback Function

If the caller needs the result, a Promise will be returned. This field will be the Promise.resolve function.

listen boolean

Is this a onetime call or we should continuously return the result

needsJson boolean

Whether we need to convert the result to JSON object