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

Function twoWaySync

packages/queue/src/tasks/two-way-sync.ts:11–16  ·  view source on GitHub ↗
(payload: any, helpers: JobHelpers)

Source from the content-addressed store, hash-verified

9import { Logger } from '../helpers/logger';
10
11export async function twoWaySync(payload: any, helpers: JobHelpers) {
12 const logger = new Logger(helpers.logger);
13 logger.info(payload);
14 const result = await twoWaySyncJob(payload, logger);
15 logger.info(result);
16}
17
18async function twoWaySyncJob(
19 { channelId, messageId, threadId, id, event }: TwoWaySyncType,

Callers

nothing calls this directly

Calls 2

infoMethod · 0.95
twoWaySyncJobFunction · 0.85

Tested by

no test coverage detected