Module

x/live/mod.web.ts>InvokeAwaiter

Git-based Visual CMS for Deno, </> htmx and Tailwind apps. Deploy on any Deno-compatible host.
Latest
import { InvokeAwaiter } from "https://dotland.deno.dev/x/live@1.107.0/mod.web.ts";

Constructors

new
InvokeAwaiter(
invoker: (payload: Invoke<TManifest, TInvocableKey, TFuncSelector>, init: RequestInit | undefined) => Promise<InvokeResult<Invoke<TManifest, TInvocableKey, TFuncSelector>, TManifest>>,
init?: RequestInit | undefined,
)

Type Parameters

TManifest extends AppManifest
TInvocableKey extends string
TFuncSelector extends DotNestedKeys<ManifestInvocable<TManifest, TInvocableKey>["return"]>

Methods

then<TResult1, TResult2 = TResult1>(onfufilled?: Fulfilled<InvokeResult<Invoke<TManifest, TInvocableKey, TFuncSelector>, TManifest>, TResult1>, onrejected?: Rejected<TResult2>): Promise<TResult1 | TResult2>