//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({
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) {
eleted file mode 100644
ndex 92ed15f6..00000000
++ /dev/null
make this unique with a counter
https://github.com/senecajs/seneca/blob/242db64ebdb9b37269c45fdd8c8e11d7153c8ad4/lib/api.js#L660