UNPKG

@cadence-mq/core

Version:

Modern, type-safe, and performant task queue for Node.js

10 lines (8 loc) 240 B
import type { TaskContext } from './tasks.types'; export function createTaskExecutionContext({ workerId }: { workerId: string }): { taskExecutionContext: TaskContext } { return { taskExecutionContext: { workerId, }, }; }