class Deffered extends Promise<T>import { Deffered } from "https://deno.land/x/tui@1.3.4/src/utils/mod.ts"; Promise with reject and resolve functions ConstructorsnewDeffered()Type ParametersoptionalT = voidPropertiesreject: (reason?: any) => voidresolve: (value: T | PromiseLike<T>) => voidstate: "pending" | "fulfilled" | "rejected"Static Propertiesreadonly[Symbol.species]