interface BridgeOperations The operation protocol, passed to connectView as operations by a generated client with operations. A View without operations does not bundle it.
Methods
start
start<TResult, TFailure = never>(scope: OperationScope, member: string, operation: string, input: unknown, codec: BridgeOperationCodec<TResult, TFailure>): Promise<BridgeOperationRuntimeHandle<TResult, TFailure>>; Sends start and returns the admitted operation. input is the encoded input, or undefined for none.
recover
recover<TResult, TFailure = never>(scope: OperationScope, member: string, operation: string, codec: BridgeOperationCodec<TResult, TFailure>): Promise<BridgeOperationRuntimeHandle<TResult, TFailure>>; Reads the status of a known operation id and returns its handle.