Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/denoexec/lib/process.ts>Process#then

A higher level wrapper around https://doc.deno.land/builtin/stable#Deno.run
Latest
method Process.prototype.then
import { Process } from "https://deno.land/x/denoexec@v1.1.5/lib/process.ts";

Type Parameters

optional
TResult1 = ProcessResults
optional
TResult2 = never

Parameters

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