MCPcopy Create free account
hub / github.com/effect-app/libs / StreamRpc

Class StreamRpc

packages/infra/test/cluster-cosmos.test.ts:380–386  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}))
379
380class StreamRpc extends Rpc.make("StreamTest", {
381 success: RpcSchema.Stream(Schema.Void, Schema.Never),
382 payload: {
383 id: Schema.String
384 },
385 primaryKey: (value) => value.id.toString()
386}) {}
387
388const makeRequest = Effect.fnUntraced(function*(options?: {
389 readonly payload?: { readonly id: number }

Callers

nothing calls this directly

Calls 2

makeMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…