0.0.6 • Published 8 years ago

meteor-celery-client v0.0.6

Weekly downloads
-
License
ISC
Repository
-
Last release
8 years ago

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');
0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago