From a8ef066e3e3f6d04c52e042c805107c588144882 Mon Sep 17 00:00:00 2001 From: johannes karoff Date: Wed, 7 Dec 2022 01:51:16 +0100 Subject: [PATCH] deprecate Observable#to --- reactive/src/main/scala/colibri/reactive/Owner.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactive/src/main/scala/colibri/reactive/Owner.scala b/reactive/src/main/scala/colibri/reactive/Owner.scala index 01f48534..07a179ae 100644 --- a/reactive/src/main/scala/colibri/reactive/Owner.scala +++ b/reactive/src/main/scala/colibri/reactive/Owner.scala @@ -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() } }