@@ -244,7 +244,6 @@ extension SignalType {
244244 }
245245
246246 /// Maps each value in the signal to a new value.
247- @warn_unused_result ( message: " Did you forget to add and observer to the signal? " )
248247 public func map< U> ( transform: ( Value ) -> U ) -> Signal < U , Error > {
249248 return Signal { observer in
250249 return self . on { event -> Void in
@@ -254,7 +253,6 @@ extension SignalType {
254253 }
255254
256255 /// Maps errors in the signal to a new error.
257- @warn_unused_result ( message: " Did you forget to add and observer to the signal? " )
258256 public func mapError< F> ( transform: ( Error ) -> F ) -> Signal < Value , F > {
259257 return Signal { observer in
260258 return self . on { event -> Void in
@@ -264,7 +262,6 @@ extension SignalType {
264262 }
265263
266264 /// Preserves only the values of the signal that pass the given predicate.
267- @warn_unused_result ( message: " Did you forget to add and observer to the signal? " )
268265 public func filter( predicate: ( Value ) -> Bool ) -> Signal < Value , Error > {
269266 return Signal { observer in
270267 return self . on { ( event: Event < Value , Error > ) -> Void in
@@ -281,7 +278,6 @@ extension SignalType {
281278 }
282279
283280 /// Aggregate values into a single combined value. Mirrors the Swift Collection
284- @warn_unused_result ( message: " Did you forget to add and observer to the signal? " )
285281 public func reduce< T> ( initial: T , _ combine: ( T , Value ) -> T ) -> Signal < T , Error > {
286282 return Signal { observer in
287283 var accumulator = initial
0 commit comments