BridgeOperations interface

Namespace @runic-artifex/views/generated · @runic-artifex/views 0.7.0-preview.5

interface BridgeOperations

The operation protocol, passed to connectView as operations by a generated client with operations. A View without operations does not bundle it. decodeFailure is given for an operation that declares a failure type.

Methods

start

start<TResult, TFailure = never>(scope: OperationScope, member: string, requestId: string, payload: () => string, decode: Decode<TResult>, stream: boolean, decodeFailure?: Decode<TFailure>): Promise<BridgeOperationRuntimeHandle<TResult, TFailure>>;

No documentation.

recover

recover<TResult, TFailure = never>(scope: OperationScope, member: string, requestId: string, decode: Decode<TResult>, stream: boolean, decodeFailure?: Decode<TFailure>): Promise<BridgeOperationRuntimeHandle<TResult, TFailure>>;

No documentation.