Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
cornerman authored and mergify[bot] committed Jan 29, 2023
1 parent d883c82 commit 3e24207
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions reactive/src/main/scala/colibri/reactive/Reactive.scala
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ object RxLater {
def wrap[A](rx: Rx[A]): RxLater[A] = new RxLaterWrap(rx)

@inline implicit final class RxLaterOps[A](private val self: RxLater[A]) extends AnyVal {
def toRxEvent: RxEvent[A] = RxEvent.observable(self.observable)
def toRxEvent: RxEvent[A] = RxEvent.observable(self.observable)

def toRx: Rx[Option[A]] = Rx.observableSeed(self.observable.map[Option[A]](Some.apply))(None)
def toRx(seed: => A): Rx[A] = Rx.observableSeed(self.observable)(seed)
Expand Down Expand Up @@ -205,7 +205,7 @@ object Rx extends RxPlatform {
def observableSync[A](observable: Observable[A]): Rx[A] = new RxSyncObservable(observable)

@inline implicit final class RxLaterOps[A](private val self: Rx[A]) extends AnyVal {
def toRxEvent: RxEvent[A] = RxEvent.observable(self.observable)
def toRxEvent: RxEvent[A] = RxEvent.observable(self.observable)

def toRxLater: RxLater[A] = RxLater.wrap(self)
}
Expand Down

0 comments on commit 3e24207

Please sign in to comment.