Nectar of the Programming Masses
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

meteor-celery-client

0.0.6 • Public • Published

wrapper node-celery for meteor

Test

pre installed

  • docker
  • python 2.7+
  • meteor 1.4.2+

install

meteor npm i

run test

meteor npm test

Document

const celeryClient = new CeleryClient();

// connect
celeryClient.connect({
  CELERY_BROKER_URL: 'amqp://guest@localhost:5672//',
  CELERY_RESULT_BACKEND: 'amqp'
});

// call
const result = celeryClient.call('celery-test.echo', ['Hello']);
chai.expect(result.result).to.be.equal('Hello');

Keywords

none

install

npm i meteor-celery-client

Downloadsweekly downloads

7

version

0.0.6

license

ISC

last publish

collaborators

  • avatar