From 52e9535c307b52501ceef6e30922fdfff6c5d5d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Roucheray?= Date: Fri, 2 Jun 2017 15:59:34 +0200 Subject: [PATCH] Replacing exclusive() by switchFirst() in example --- doc/api/core/operators/switchfirst.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/core/operators/switchfirst.md b/doc/api/core/operators/switchfirst.md index ab2eea3c3..7989a1f1e 100644 --- a/doc/api/core/operators/switchfirst.md +++ b/doc/api/core/operators/switchfirst.md @@ -26,7 +26,7 @@ var source = Rx.Observable.generateWithRelativeTime( }); -source.exclusive().subscribe( +source.switchFirst().subscribe( function (x) { console.log("Next %d", x); }, function(e) {