SyncInstance

fields.typeclass.Effect.SyncInstance
object SyncInstance extends Effect[Sync]

Attributes

Source
Effect.scala
Graph
Supertypes
trait Effect[Sync]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def defer[A](a: => A): A

Makes effect lazy

Makes effect lazy

Attributes

Source
Effect.scala
def flatMap[A, B](fa: A)(f: A => B): B

FlatMap one effect into another using f function

FlatMap one effect into another using f function

Attributes

Source
Effect.scala
def map[A, B](fa: A)(f: A => B): B

Map effect into another using f function

Map effect into another using f function

Attributes

Source
Effect.scala
def pure[A](a: A): A

Lifts value into Effect

Lifts value into Effect

Attributes

Source
Effect.scala
def suspend[A](a: => A): A

Lazily lifts value into Effect

Lazily lifts value into Effect

Attributes

Source
Effect.scala