x/oak/deps.ts

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Very Popular
Go to Latest
interface Deferred
implements Promise<T>
import { type Deferred } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v11.1.0/deps.ts?s=Deferred";

Properties

readonly
state: "pending" | "fulfilled" | "rejected"
[src]

Methods

resolve(value?: T | PromiseLike<T>): void[src]
reject(reason?: any): void[src]