Interface ICreateCloudFunctionJob

Interface for creating a cloud function job.

interface ICreateCloudFunctionJob {
    name: string;
    scriptCid: string;
    slots?: number;
}

Properties

Properties

name: string

Name of the cloud function job.

scriptCid: string

CID of the script to be executed by the cloud function job.

Example

'bafybebcsl5d7wu3quxrsiwgxgyzpvknv5re2cqa6d4rybprhisomu3r5he'
slots?: number

Number of processors to use for the cloud function job.

Default

1