rules icon indicating copy to clipboard operation
rules copied to clipboard

how to call a custom nodejs function in durable?

Open codeneno opened this issue 4 years ago • 0 comments

var d = require('durable'); function abc(data){ console.log(data); } d.ruleset('test', function() { whenAll: m.subject == 'World' run:abc(m)//can't call this function });

d.post('test', {subject: 'World'});

codeneno avatar Feb 04 '21 09:02 codeneno