import Client from "./app/client" ; import Worker from "./app/worker" ; description function returns { Client } export function createClient ( broker = "amqp://" , backend = "amqp://" , queue = "celery" ) { return new Client ( broker , backend , queue ) ; } description function returns { Worker } export function createWorker ( broker = "amqp://" , backend = "amqp://" , queue = "celery" ) { return new Worker ( broker , backend , queue ) ; }