All Downloads are FREE. Search and download functionalities are using the official Maven repository.

formidable.FormidableRx.scala Maven / Gradle / Ivy

The newest version!
package formidable

import scala.language.experimental.macros
import scala.util.Try

trait FormidableRx[Target] {
  def current: rx.Rx[Try[Target]]
  def set(inp: Target): Unit
  def reset(): Unit
}

object FormidableRx {
  def apply[T,Layout](implicit ctx: rx.Ctx.Owner): Layout with FormidableRx[T] = macro Macros.generate[T,Layout]
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy