import { BullBoardRequest , ControllerHandlerReturnType } from '../../typings/app' ; import { queueProvider } from '../providers/queue' ; import { BaseAdapter } from '../queueAdapters/base' ; async function pauseQueue ( _req , queue ) { await queue . pause ( ) ; return { status : 200 , body : { } } ; } export const pauseQueueHandler = queueProvider ( pauseQueue ) ;