Skip to main content
Module

x/dax/mod.ts>CommandBuilder#then

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method CommandBuilder.prototype.then
Re-export
import { CommandBuilder } from "https://deno.land/x/dax@0.31.0/mod.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>