Skip to content

Commit

Permalink
deprecate Observable#to
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman committed Dec 16, 2022
1 parent 93f7829 commit a8ef066
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion reactive/src/main/scala/colibri/reactive/Owner.scala
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ object LiveOwner extends LiveOwnerPlatform {
}

def unsafeLive[A](rx: Rx[A]): A = {
ref.unsafeAdd(() => rx.observable.to(subject).unsafeSubscribe())
ref.unsafeAdd(() => rx.observable.via(subject).unsafeSubscribe())
rx.nowGet()
}
}
Expand Down

0 comments on commit a8ef066

Please sign in to comment.