class InvokeAwaiter
implements PromiseLike<InvokeResult<Invoke<TManifest, TInvocableKey, TFuncSelector>, TManifest>>, InvokeAsPayload<TManifest, TInvocableKey, TFuncSelector>
import { InvokeAwaiter } from "https://deno.land/x/live@1.57.22/clients/proxy.ts";
Constructors
new
InvokeAwaiter(invoker: (payload: Invoke<TManifest, TInvocableKey, TFuncSelector>, init: RequestInit | undefined) => Promise<InvokeResult<Invoke<TManifest, TInvocableKey, TFuncSelector>, TManifest>>,
payload: Invoke<TManifest, TInvocableKey, TFuncSelector>,
init?: RequestInit | undefined,
Type Parameters
TManifest extends AppManifest
TFuncSelector extends DotNestedKeys<ManifestInvocable<TManifest, TInvocableKey>["return"]>
Methods
get()
then<TResult1, TResult2 = TResult1>(onfufilled?: Fulfilled<InvokeResult<Invoke<TManifest, TInvocableKey, TFuncSelector>, TManifest>, TResult1>, onrejected?: Rejected<TResult2>): Promise<TResult1 | TResult2>