MCPcopy Create free account
hub / github.com/block/buzz / relayFor

Function relayFor

desktop/src/features/workspaces/workspaceUnreadObserver.test.mjs:28–36  ·  view source on GitHub ↗
(filters)

Source from the content-addressed store, hash-verified

26}
27
28function relayFor(filters) {
29 return {
30 requests: [],
31 async fetchEvents(filter) {
32 this.requests.push(filter);
33 return filters.shift()?.(filter) ?? [];
34 },
35 };
36}
37
38test("extractMemberChannelIds deduplicates d tags", () => {
39 assert.deepEqual(

Calls

no outgoing calls

Tested by

no test coverage detected