Q. Which method is used in Angular to clone an Observable?

  • (A) shareReplay()
  • (B) pipe()
  • (C) clone()
  • (D) repeat()
πŸ’¬ Discuss
βœ… Correct Answer: (A) shareReplay()
Explanation: shareReplay allows multicasting of the same Observable without multiple subscriptions.
Explanation by: Mr. Dubey
shareReplay allows multicasting of the same Observable without multiple subscriptions.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
80
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
89%
Success Rate