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

Function createRemindMeJob

apps/web/queue/jobs.ts:45–57  ·  view source on GitHub ↗
(
  jobKey: string,
  runAt: Date,
  payload: any
)

Source from the content-addressed store, hash-verified

43}
44
45export async function createRemindMeJob(
46 jobKey: string,
47 runAt: Date,
48 payload: any
49) {
50 const worker = await WorkerSingleton.getInstance();
51 return await worker.addJob('remind-me-later-queue', payload, {
52 jobKey: `remind-me-later-queue:${jobKey}`,
53 maxAttempts: 1,
54 runAt,
55 jobKeyMode: 'replace',
56 });
57}
58
59export async function createMarkAllAsReadJob(
60 jobKey: string,

Callers 1

createFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected