
com.avsystem.commons.CommonAliases.scala Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-core_sjs1_2.12 Show documentation
Show all versions of commons-core_sjs1_2.12 Show documentation
AVSystem commons library for Scala
The newest version!
package com.avsystem.commons
trait CommonAliases {
type Try[+T] = scala.util.Try[T]
final val Try = scala.util.Try
type Success[+T] = scala.util.Success[T]
final val Success = scala.util.Success
type Failure[+T] = scala.util.Failure[T]
final val Failure = scala.util.Failure
type Future[+T] = scala.concurrent.Future[T]
final val Future = scala.concurrent.Future
type Promise[T] = scala.concurrent.Promise[T]
final val Promise = scala.concurrent.Promise
type ExecutionContext = scala.concurrent.ExecutionContext
final val ExecutionContext = scala.concurrent.ExecutionContext
final val NonFatal = scala.util.control.NonFatal
type ClassTag[T] = scala.reflect.ClassTag[T]
final val ClassTag = scala.reflect.ClassTag
final def classTag[T: ClassTag]: ClassTag[T] = scala.reflect.classTag[T]
type Annotation = scala.annotation.Annotation
type StaticAnnotation = scala.annotation.StaticAnnotation
}
object CommonAliases extends CommonAliases
© 2015 - 2025 Weber Informatics LLC | Privacy Policy