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

Function createTypesenseOnThreadUpdate

apps/web/queue/jobs.ts:232–240  ·  view source on GitHub ↗
(payload: {
  accountId: string;
  threadId: string;
})

Source from the content-addressed store, hash-verified

230}
231
232export async function createTypesenseOnThreadUpdate(payload: {
233 accountId: string;
234 threadId: string;
235}) {
236 const worker = await WorkerSingleton.getInstance();
237 return await worker.addJob('typesenseOnThreadUpdate', payload, {
238 maxAttempts: 1,
239 });
240}

Callers 1

eventThreadUpdatedFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected