You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Playgrounds/Subjects.playground/Contents.swift
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -55,10 +55,9 @@ example("ReplaySubject") {
55
55
56
56
## BehaviorSubject a.k.a. Variable
57
57
58
-
ReplaySubject emits to any observer all of the items, in the buffer, that were emitted by the source
59
-
58
+
BehaviorSubject is similar to ReplaySubject except it only remembers the last item. This means that all subscribers will receive a value immediately (unless it is already completed).
0 commit comments