Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dax/src/request.ts>RequestBuilder#then

Cross platform shell tools for Deno inspired by zx.
Very Popular
Go to Latest
method RequestBuilder.prototype.then
import { RequestBuilder } from "https://deno.land/x/dax@0.24.0/src/request.ts";

Type Parameters

optional
TResult1 = RequestResult
optional
TResult2 = never

Parameters

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

Returns

PromiseLike<TResult1 | TResult2>