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

Function createSyncJob

apps/web/queue/jobs.ts:38–43  ·  view source on GitHub ↗
(payload: SyncJobType)

Source from the content-addressed store, hash-verified

36}
37
38export async function createSyncJob(payload: SyncJobType) {
39 const worker = await WorkerSingleton.getInstance();
40 return await worker.addJob('sync', payload, {
41 jobKey: `sync:${payload.account_id}`,
42 });
43}
44
45export async function createRemindMeJob(
46 jobKey: string,

Callers 2

handlerFunction · 0.90
eventNewIntegrationFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected