david liu <david-khala@...>
That is a general nodejs function, not specific for fabric. But AFAIK, you could use outside function and variable inside callback with `closure` pattern or even directly using the context scope.
+852 5982 3942
发件人: fabric@... <fabric@...> 代表 Prasanth Sundaravelu <prasanths96@...>
发送时间: Thursday, January 17, 2019 9:04:32 PM
主题: [Hyperledger Fabric] How to send fabric chaincode events received in node.js application to angular application? #fabric-sdk-node
Thanks in advance.