top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What is difference between filter() and map() in Rx.js?

0 votes
334 views
What is difference between filter() and map() in Rx.js?
posted May 30, 2018 by anonymous

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Filter - It emits only those items from an Observable that pass a predicate test
Map - It transforms the items emitted by an Observable by applying a function to each item

answer May 31, 2018 by Maninder Bath
Similar Questions
+2 votes

Is it possible to block all Data traffic for a specific UE by sending Diameter-Rx AAR command to the PCRF?
If yes, can you indicate AVPs shall be present in the AAR?
May I suppose the following AVP list
- Subscription-Id Containing the targeted MSISDN/IMSI
- Framed-IP-Address or Framed-IPv6-Prefix (containing the IP-address allocated to the UE)
- Media-Component-description containing the following Sub AVP
- Media-Component-number Mandatory sub-AVP
- Flow-Status set to DISABLED

...