MCPcopy
hub / github.com/Effect-TS/effect / unprocessedMessagesById

Function unprocessedMessagesById

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

Source from the content-addressed store, hash-verified

227 Layer.updateService(MessageStorage.MessageStorage, (storage) => ({
228 ...storage,
229 unprocessedMessagesById(messageIds) {
230 requestedIds.unsafeOffer(Array.fromIterable(messageIds))
231 return storage.unprocessedMessagesById(messageIds)
232 }
233 })),
234 Layer.provide(MessageStorage.layerMemory),
235 Layer.provide(TestShardingConfig)

Callers

nothing calls this directly

Calls 1

unsafeOfferMethod · 0.65

Tested by

no test coverage detected