From 6d4630aceba89e894f3129c0460b568fc2b6d843 Mon Sep 17 00:00:00 2001 From: Erik Olsson Date: Mon, 10 Feb 2020 16:04:37 +0100 Subject: [PATCH] add share() in Publishers extension --- Sources/CombineFeedback/System.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Sources/CombineFeedback/System.swift b/Sources/CombineFeedback/System.swift index 13798e8..7ff6f91 100644 --- a/Sources/CombineFeedback/System.swift +++ b/Sources/CombineFeedback/System.swift @@ -24,6 +24,7 @@ extension Publishers { .receive(on: scheduler) .eraseToAnyPublisher() } + .share() .eraseToAnyPublisher() } }