MCPcopy Create free account
hub / github.com/Linen-dev/linen.dev / createTypesenseOnMessageUpdate

Function createTypesenseOnMessageUpdate

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

Source from the content-addressed store, hash-verified

210}
211
212export async function createTypesenseOnMessageUpdate(payload: {
213 accountId: string;
214 threadId: string;
215}) {
216 const worker = await WorkerSingleton.getInstance();
217 return await worker.addJob('typesenseOnMessageUpdate', payload, {
218 maxAttempts: 1,
219 });
220}
221
222export async function createTypesenseOnThreadCreation(payload: {
223 accountId: string;

Callers 1

eventMessageUpdatedFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected