senecajs / seneca

A microservices toolkit for Node.js.
http://senecajs.org
MIT License
3.95k stars 314 forks source link

make this unique with a counter #811

Closed github-actions[bot] closed 4 years ago

github-actions[bot] commented 4 years ago

make this unique with a counter

https://github.com/senecajs/seneca/blob/242db64ebdb9b37269c45fdd8c8e11d7153c8ad4/lib/api.js#L660

    //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
github-actions[bot] commented 4 years ago

Closed in 242db64ebdb9b37269c45fdd8c8e11d7153c8ad4