packages/modules-mongo/src/JobQueue/JobQueueContainerModule.ts
import type { JobQueue } from '@xyo-network/node-core-model'
import { TYPES } from '@xyo-network/node-core-types'
import type { interfaces } from 'inversify'
import { ContainerModule } from 'inversify'
import { getJobQueue } from './getJobQueue.js'
export const JobQueueContainerModule = new ContainerModule((bind: interfaces.Bind) => {
bind<JobQueue>(TYPES.JobQueue).toConstantValue(getJobQueue())
})