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

Function createTypesenseOnMessageCreation

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

Source from the content-addressed store, hash-verified

200}
201
202export async function createTypesenseOnMessageCreation(payload: {
203 accountId: string;
204 threadId: string;
205}) {
206 const worker = await WorkerSingleton.getInstance();
207 return await worker.addJob('typesenseOnMessageCreation', payload, {
208 maxAttempts: 1,
209 });
210}
211
212export async function createTypesenseOnMessageUpdate(payload: {
213 accountId: string;

Callers 1

eventNewMessageFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected