GitHub

OpenRPCEffectStream

API reference for OpenRPCEffectStream.

How a streaming RPC's chunks are sent: as JSON-RPC responses with chunk: true, acknowledged with @effect/rpc/Ack.

Attributes

AttributeTypeDescription
encodingLiteral['effect-jsonrpc']
itemSchemaJsonSchema
chunkSchemaJsonSchema
errorSchemaJsonSchema
causeSchemaJsonSchema
ackMethodLiteral['@effect/rpc/Ack']
interruptMethodLiteral['@effect/rpc/Interrupt']