MCPcopy Create free account
hub / github.com/Effect-TS/effect / emptyFrom

Method emptyFrom

packages/effect/src/unstable/cluster/Reply.ts:191–198  ·  view source on GitHub ↗

* Creates an empty chunk reply for the supplied request id. * * @since 4.0.0

(requestId: Snowflake)

Source from the content-addressed store, hash-verified

189 * @since 4.0.0
190 */
191 static emptyFrom(requestId: Snowflake) {
192 return new Chunk({
193 requestId,
194 id: Snowflake(BigInt(0)),
195 sequence: 0,
196 values: [undefined]
197 })
198 }
199
200 /**
201 * Schema that accepts any runtime chunk reply without validating payload values.

Callers 2

makeEmptyReplyFunction · 0.80
makeEmptyReplyFunction · 0.80

Calls 2

SnowflakeFunction · 0.90
BigIntInterface · 0.50

Tested by 1

makeEmptyReplyFunction · 0.64