It is currently not possible to manually call the method causing a reply message to be sent in a function bound in pm.bind.
This could be very useful when the function bound by pm.bind performs an asynchronous operation, and such cannot reply straightaway.
Could be implemented as such:
pm.bind_manual(type, fn, [origin], [hash])
And that fn then gets called with (data, callback), where fn calls callback when it has completed doing its job
It is currently not possible to manually call the method causing a reply message to be sent in a function bound in pm.bind.
This could be very useful when the function bound by pm.bind performs an asynchronous operation, and such cannot reply straightaway.
Could be implemented as such: pm.bind_manual(type, fn, [origin], [hash]) And that fn then gets called with (data, callback), where fn calls callback when it has completed doing its job