Skip to content

Commit

Permalink
Replace deprecated Observer.action with Observer.send
Browse files Browse the repository at this point in the history
  • Loading branch information
ikesyo committed Nov 28, 2017
1 parent d3aef06 commit 62dcd50
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/CarthageKit/ProducerQueue.swift
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal final class SerialProducerQueue: ProducerQueue {
lifetime += signalDisposable

signal.observe { event in
observer.action(event)
observer.send(event)

if event.isTerminating {
self.queue.resume()
Expand Down Expand Up @@ -89,7 +89,7 @@ internal final class ConcurrentProducerQueue: ProducerQueue {
lifetime += signalDisposable

signal.observe { event in
observer.action(event)
observer.send(event)

if event.isTerminating {
operation._isFinished = true
Expand Down

0 comments on commit 62dcd50

Please sign in to comment.