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

Function unprocessedMessagesById

packages/cluster/test/Sharding.test.ts:406–409  ·  view source on GitHub ↗
(messageIds)

Source from the content-addressed store, hash-verified

404 Layer.updateService(MessageStorage.MessageStorage, (storage) => ({
405 ...storage,
406 unprocessedMessagesById(messageIds) {
407 requestedIds.unsafeOffer(Array.fromIterable(messageIds))
408 return storage.unprocessedMessagesById(messageIds)
409 }
410 })),
411 Layer.provide(MessageStorage.layerMemory),
412 Layer.provide(TestShardingConfig)

Callers

nothing calls this directly

Calls 1

unsafeOfferMethod · 0.65

Tested by

no test coverage detected