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

Function createTwoWaySyncJob

apps/web/queue/jobs.ts:82–87  ·  view source on GitHub ↗
(payload: TwoWaySyncType)

Source from the content-addressed store, hash-verified

80}
81
82export async function createTwoWaySyncJob(payload: TwoWaySyncType) {
83 const worker = await WorkerSingleton.getInstance();
84 return await worker.addJob('two-way-sync', payload, {
85 maxAttempts: 1,
86 });
87}
88
89export async function createIntegrationDiscord() {
90 const worker = await WorkerSingleton.getInstance();

Callers 5

eventThreadClosedFunction · 0.90
eventNewThreadFunction · 0.90
eventThreadReopenedFunction · 0.90
eventNewMessageFunction · 0.90
eventThreadUpdatedFunction · 0.90

Calls 1

getInstanceMethod · 0.80

Tested by

no test coverage detected