Object/Trait

monix.catnap

FutureLift

Related Docs: trait FutureLift | package catnap

Permalink

object FutureLift extends FutureLiftForPlatform with Serializable

Linear Supertypes
Serializable, Serializable, FutureLiftForPlatform, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. FutureLift
  2. Serializable
  3. Serializable
  4. FutureLiftForPlatform
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. implicit class Deprecated[F[_], Future[_]] extends AnyRef

    Permalink

    Deprecated method, which happened on extending FunctionK.

  2. trait Syntax[F[_], Future[_], A] extends Any

    Permalink

    Provides extension methods when imported in scope via syntax.

    Provides extension methods when imported in scope via syntax.

    import monix.catnap.syntax._

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[F[_], Future[_]](implicit F: FutureLift[F, Future]): FutureLift[F, Future]

    Permalink

    Accessor for FutureLift values that are in scope.

    Accessor for FutureLift values that are in scope.

    import cats.effect.IO
    import scala.concurrent.Future
    import scala.concurrent.ExecutionContext.Implicits.global
    
    val F = FutureLift[IO, Future]
    
    val task: IO[Int] = F.apply(IO(Future(1 + 1)))
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. def from[F[_], Future[_], A](fa: F[Future[A]])(implicit F: FutureLift[F, Future]): F[A]

    Permalink

    Applies FutureLift.apply to the given parameter.

    Applies FutureLift.apply to the given parameter.

    import cats.effect.IO
    import scala.concurrent.Future
    import scala.concurrent.ExecutionContext.Implicits.global
    
    val ioa = FutureLift.from(IO(Future(1 + 1)))
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. implicit def scalaFutureLiftForConcurrentOrAsync[F[_], MF[T] <: Future[T]](implicit F: OrElse[Concurrent[F], Async[F]]): FutureLift[F, MF]

    Permalink

    Implicit instance of FutureLift for converting from scala.concurrent.Future or monix.execution.CancelableFuture to any Concurrent or Async data type.

  18. def scalaToAsync[F[_], MF[T] <: Future[T], A](fa: F[MF[A]])(implicit F: Async[F]): F[A]

    Permalink

    Utility for converting Future values into data types that implement cats.effect.Async.

    Utility for converting Future values into data types that implement cats.effect.Async.

    N.B. the implementation discriminates CancelableFuture via sub-typing, and if the given future is cancelable, then the resulting instance is also cancelable.

  19. def scalaToConcurrent[F[_], MF[T] <: Future[T], A](fa: F[MF[A]])(implicit F: Concurrent[F]): F[A]

    Permalink

    Utility for converting Future values into data types that implement cats.effect.Concurrent.

    Utility for converting Future values into data types that implement cats.effect.Concurrent.

    N.B. the implementation discriminates CancelableFuture via sub-typing, and if the given future is cancelable, then the resulting instance is also cancelable.

  20. def scalaToConcurrentOrAsync[F[_], MF[T] <: Future[T], A](fa: F[MF[A]])(implicit F: OrElse[Concurrent[F], Async[F]]): F[A]

    Permalink

    A generic function that subsumes both scalaToAsync and scalaToConcurrent.

    A generic function that subsumes both scalaToAsync and scalaToConcurrent.

    N.B. this works with monix.execution.CancelableFuture if the given Future is such an instance.

  21. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  22. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  24. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from FutureLiftForPlatform

Inherited from AnyRef

Inherited from Any

Ungrouped