Suppose key is 'abc' and value 'true', I should be able to access 'this.abc'; and this should return me true
Class A {
public someFun(){
this.external.getData().subscribe((externalStream: Array<someType>) => {
for(let i:number = 0; i < externalStream.length; i++){
console.info(externalStream[i].key); // This should be class variable
console.info(externalStream[i].value); // This should be above variable's value
}
})
}
}