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

japgolly.scalajs.react.util.DefaultEffectsApi.scala Maven / Gradle / Ivy

The newest version!
package japgolly.scalajs.react.util

/** This is a separate because both Sync and Async extend Dispatch, and there needs to be an
  * unambiguous Dispatch instance even if both the Sync and Async types are the same.
  */
trait DefaultEffectsApiLowPri {
  type Async[A]
  implicit def Async: Effect.Async[Async]
}

trait DefaultEffectsApi extends DefaultEffectsApiLowPri {
  type Sync[A]
  implicit def Sync: Effect.Sync[Sync]
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy