MCPcopy Create free account
hub / github.com/middleapi/orpc / rpc

Method rpc

packages/durable-iterator/src/iterator.ts:57–62  ·  view source on GitHub ↗

* List of methods that are allowed to be called remotely.

(...rpc: U[])

Source from the content-addressed store, hash-verified

55 * List of methods that are allowed to be called remotely.
56 */
57 rpc<U extends InferDurableIteratorObjectRPC<T>>(...rpc: U[]): Omit<DurableIterator<T, U>, 'rpc'> {
58 return new DurableIterator<T, U>(this.chn, {
59 ...this.options,
60 rpc,
61 })
62 }
63
64 then<TResult1 = ClientDurableIterator<T, RPC>, TResult2 = never>(
65 onfulfilled?: ((value: ClientDurableIterator<T, RPC>) => TResult1 | PromiseLike<TResult1>) | null | undefined,

Callers 4

iterator.test-d.tsFile · 0.80
iterator.test.tsFile · 0.80
plugin.test.tsFile · 0.80
message.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected