Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak/deps.ts>Deferred

A middleware framework for handling HTTP with Deno 🐿️ 🦕
Extremely Popular
Go to Latest
interface Deferred
implements Promise<T>
import { type Deferred } from "https://deno.land/x/oak@v12.1.0/deps.ts";

Properties

readonly
state: "pending" | "fulfilled" | "rejected"

Methods

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