Module

x/dax/src/command.ts>CommandBuilder#then

Cross-platform shell tools for Deno and Node.js inspired by zx.
Very Popular
Latest
method CommandBuilder.prototype.then
import { CommandBuilder } from "https://dotland.deno.dev/x/dax@0.39.2/src/command.ts";

Type Parameters

optional
TResult1 = CommandResult
optional
TResult2 = never

Parameters

optional
onfulfilled: ((value: CommandResult) => TResult1 | PromiseLike<TResult1>) | null | undefined
optional
onrejected: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null | undefined

Returns

PromiseLike<TResult1 | TResult2>