//var sd = Plugins.make_delegate(self, {
// TODO: review - this feels like a hack
// perhaps we should instantiate a virtual plugin to represent the client?
// ... but is this necessary at all?
var task_res = self.order.plugin.task.delegate.exec({
ctx: {
seneca: self,
},
data: {
plugin: {
// TODO: make this unique with a counter
name: 'seneca_internal_client',
tag: void 0,
},
},
})
var sd = task_res.out.delegate
var sendclient
var transport_client = function transport_client(msg, reply, meta) {
ndex ab5d8b8e..6c31d58f 100644
++ b/lib/errors.js
review - this feels like a hack
perhaps we should instantiate a virtual plugin to represent the client?
... but is this necessary at all?
https://github.com/senecajs/seneca/blob/1c97c5fba6f4e3c61b037be42656036a83321b36/lib/api.js#L650