Nest: Add RPC streaming support

Created on 2 Jun 2017  路  3Comments  路  Source: nestjs/nest

There is many cases when RPC client need to subscribe to RPC server data changes. Looks like currently used json-socket lib supports this case via streaming. So we need nest proxy-methods to use it
https://github.com/sebastianseilund/node-json-socket#streaming-example

Most helpful comment

Hi @artaommahe,
In the next update there is a breaking change in @microservices module - methods will return Observables, so they could return multiple values :)

All 3 comments

Hi @artaommahe,
In the next update there is a breaking change in @microservices module - methods will return Observables, so they could return multiple values :)

Hi again,
Please, update your package into 3.0.0. :)

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings