dispatch

Run one @wvb/bridge command and return its JSON-serializable result envelope (never throws).

Run one @wvb/bridge command and return its JSON-serializable result envelope (never throws).

View source ↗

function dispatch(wvb: WebviewBundle, name: string, params?: Params): Promise<InvokeResult>;

Parameters

Prop

Type

Returns

Promise<InvokeResult>

On this page