import { ProcessDeferred } from "https://deno.land/x/denoexec@v1.1.5/lib/process_deferred.ts";
This is designed for use with the functional api.
Constructors
new
ProcessDeferred(opts: ProcessOptions)Methods
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): Promise<ProcessResults | TResult>
finally(onfinally?: (() => void) | undefined | null): Promise<ProcessResults>
then<TResult1 = ProcessResults, TResult2 = never>(onfulfilled?: ((value: ProcessResults) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): Promise<TResult1 | TResult2>