Skip to content

TypeScript Function APIDocs


TypeScript Function API / sandbox/exec / WatchArgs

Interface: WatchArgs

Properties

cmd

cmd: string

Defined in

sandbox/exec.ts:7


args?

optional args: readonly string[]

Defined in

sandbox/exec.ts:8


execaOptions?

optional execaOptions: Options<string>

Defined in

sandbox/exec.ts:9


retryMs?

optional retryMs: number

Defined in

sandbox/exec.ts:10


maxRetryCount?

optional maxRetryCount: number

Defined in

sandbox/exec.ts:11


callback()

callback: (child) => Promise<boolean>

Parameters

child: ExecaReturnValue<string>

Returns

Promise<boolean>

Defined in

sandbox/exec.ts:12