From d6b60871f28f37d9789007634bd1a34845c1b3cf Mon Sep 17 00:00:00 2001 From: Tristan Celder Date: Tue, 30 Jul 2019 16:12:49 +0200 Subject: [PATCH] Beta 5: ReplaySubject temp-fix --- Sources/Entwine/Operators/ReplaySubject.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Sources/Entwine/Operators/ReplaySubject.swift b/Sources/Entwine/Operators/ReplaySubject.swift index 9fb6cd2..f3a04e8 100644 --- a/Sources/Entwine/Operators/ReplaySubject.swift +++ b/Sources/Entwine/Operators/ReplaySubject.swift @@ -92,6 +92,10 @@ extension ReplaySubject: Publisher { extension ReplaySubject: Subject { + public func send(subscription: Subscription) { + subscription.request(.unlimited) + } + public func send(_ value: Output) { guard status == .active else { return } replayValues.addValueToBuffer(value)