[ad_1]
I encountered a few problems when I was learning nest.js. When I send a grpc or rabbitmq request, I take an observable, and I can only handle this observable with the subscribe method. When I handle it with subscribe, I can’t return any data to a variable, but I can only observe (except “this.*=”). However, when I handle some problems in the grpc microservice(parameter control etc.), I need to return status codes for different situations. How can I handle this problem?
[ad_2]