@@ -9,7 +9,7 @@ import scala.scalajs.js.timers.{SetTimeoutHandle, clearTimeout, setTimeout}
99import scala .util .Try
1010
1111class TransitioningSignal [Input , Output , Key ](
12- override protected [ this ] val parent : Signal [Seq [Input ]],
12+ override protected val parent : Signal [Seq [Input ]],
1313 getKey : Input => Key ,
1414 project : (Key , Input , Signal [Input ], Transition ) => Output
1515) extends Signal [Seq [Output ]]
@@ -28,20 +28,20 @@ class TransitioningSignal[Input, Output, Key](
2828
2929 override protected [airstream] val topoRank : Int = Protected .topoRank(parent) + 1
3030
31- private [ this ] val timeoutHandles : mutable.Map [Key , SetTimeoutHandle ] = mutable.Map .empty
32- private [ this ] val memoized : mutable.Map [Key , (Output , Var [Input ], Var [TransitionStatus ])] = mutable.Map .empty
33- private [ this ] val activeKeys : mutable.Set [Key ] = mutable.Set .empty
31+ private val timeoutHandles : mutable.Map [Key , SetTimeoutHandle ] = mutable.Map .empty
32+ private val memoized : mutable.Map [Key , (Output , Var [Input ], Var [TransitionStatus ])] = mutable.Map .empty
33+ private val activeKeys : mutable.Set [Key ] = mutable.Set .empty
3434
3535 // Used to track the order of the values.
36- private [ this ] val ordered = new OrderedSet [Key ](Vector .empty)
36+ private val ordered = new OrderedSet [Key ](Vector .empty)
3737
3838 protected override def onStop (): Unit =
3939 memoized.clear()
4040 super .onStop()
4141
4242 def refireMemoized (): Unit = fireValue(ordered.toList.map(memoized(_)._1), null )
4343
44- private [ this ] def memoizedProject (nextInputs : Seq [Input ], first : Boolean = false ): Seq [Output ] =
44+ private def memoizedProject (nextInputs : Seq [Input ], first : Boolean = false ): Seq [Output ] =
4545 val nextKeys = mutable.HashSet .empty[Key ] // HashSet has desirable performance tradeoffs
4646
4747 val nextOutputs = nextInputs.map { input =>
0 commit comments