跳到內容

ManagedOptions

本頁內容尚未翻譯。

Defined in: internal/transition.ts:32

readonly artifact: {
directory: string;
identity: {
algorithm: "sha256";
digest: string;
entry: string;
version: 1;
};
} = Artifact.Artifact;

Defined in: internal/candidate.ts:8

readonly directory: string = Schema.NonEmptyString;
readonly identity: {
algorithm: "sha256";
digest: string;
entry: string;
version: 1;
} = Identity;
readonly algorithm: "sha256";
readonly digest: string;
readonly entry: string = Schema.NonEmptyString;
readonly version: 1;

Omit.artifact


readonly contractModule: string = Schema.NonEmptyString;

Defined in: internal/candidate.ts:9

Omit.contractModule


readonly instance?: string;

Defined in: internal/transition.ts:34

Required outside Loader; must match the entry id when Loader supplies one.


readonly maxInFlight?: number;

Defined in: internal/transition.ts:37

Must be between 1 and the direct transport capacity (16). Defaults to 16.


readonly policy?: Partial<Policy>;

Defined in: internal/transition.ts:35


readonly target:
| {
_tag: "Worker";
execArgv?: readonly string[];
}
| {
_tag: "Local";
command?: readonly [string, string];
};

Defined in: internal/candidate.ts:10

Omit.target