
scala.reactive.container.ReactBuilder.scala Maven / Gradle / Ivy
The newest version!
package scala.reactive
package container
import scala.collection._
import scala.annotation.implicitNotFound
trait ReactBuilder[@spec(Int, Long, Double) -T, +Repr] extends ReactMutable.Subscriptions {
def +=(value: T): Boolean
def -=(value: T): Boolean
def container: Repr
}
object ReactBuilder {
@implicitNotFound(msg = "Cannot construct a reactive container of type ${That} with elements of type ${S}.")
trait Factory[@spec(Int, Long, Double) -S, +That] {
def apply(): ReactBuilder[S, That]
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy