MCPcopy Index your code
hub / github.com/Linen-dev/linen.dev / eventThreadReopened

Function eventThreadReopened

apps/web/services/events/eventThreadReopened.ts:10–27  ·  view source on GitHub ↗
({
  channelId,
  threadId,
  accountId,
}: ThreadReopenedEvent)

Source from the content-addressed store, hash-verified

8};
9
10export async function eventThreadReopened({
11 channelId,
12 threadId,
13 accountId,
14}: ThreadReopenedEvent) {
15 const event = {
16 channelId,
17 threadId,
18 accountId,
19 };
20
21 const promises: Promise<any>[] = [
22 createTwoWaySyncJob({ ...event, event: 'threadReopened', id: threadId }),
23 ];
24
25 const result = await Promise.allSettled(promises);
26 console.log(stringify(result));
27}

Callers 1

updateMethod · 0.90

Calls 3

createTwoWaySyncJobFunction · 0.90
stringifyFunction · 0.85
logMethod · 0.65

Tested by

no test coverage detected