Combine2

turbolift.Effect$.Combine2
final class Combine2[Fx1 <: HasSignature, Fx2 <: HasSignature](val fx1: Fx1, val fx2: Fx2)

Composition of 2 effects, for the purpose of sharing an Interpreter.

Attributes

Graph
Supertypes
trait CanInterpret
trait Signature
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

abstract class ConstStateful[C, S, F[_]] extends Stateful[S, [_] =>> C, F], ThisInterpreter

Like Stateful, but obtained handler is applicable only to computations that return C.

Like Stateful, but obtained handler is applicable only to computations that return C.

Attributes

Inherited from:
CanInterpret
Supertypes
class Stateful[S, [_] =>> C, F]
class Flow
class FlowFeatures
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
abstract class ConstStateless[C, F[_]] extends Stateless[[_] =>> C, F], ThisInterpreter

Like Stateless, but obtained handler is applicable only to computations that return C.

Like Stateless, but obtained handler is applicable only to computations that return C.

Attributes

Inherited from:
CanInterpret
Supertypes
class Stateless[[_] =>> C, F]
class Flow
class FlowFeatures
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
abstract class Proxy[Fx] extends Proxy[Fx], ThisInterpreter

Base class for any user-defined proxy interpreter for this effect.

Base class for any user-defined proxy interpreter for this effect.

Like Proxy Interpreter, but specialized for this effect.

Attributes

Inherited from:
CanInterpret
Supertypes
class Proxy[Fx]
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
abstract class ProxyIO extends ProxyIO, ThisInterpreter

Attributes

Inherited from:
CanInterpret
Supertypes
class ProxyIO
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
abstract class Stateful[S, F[_]] extends Stateful[S, [X] =>> X, F], ThisInterpreter

Base class for any user-defined stateful interpreter for this effect.

Base class for any user-defined stateful interpreter for this effect.

Like Stateful Interpreter, but specialized for this effect.

Attributes

Inherited from:
CanInterpret
Supertypes
class Stateful[S, [X] =>> X, F]
class Flow
class FlowFeatures
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
abstract class Stateless[F[_]] extends Stateless[[X] =>> X, F], ThisInterpreter

Base class for any user-defined stateless interpreter for this effect.

Base class for any user-defined stateless interpreter for this effect.

Like Stateless Interpreter, but specialized for this effect.

Attributes

Inherited from:
CanInterpret
Supertypes
class Stateless[[X] =>> X, F]
class Flow
class FlowFeatures
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Show all
object ThisHandler

Defines type aliases for Handler, specialized to eliminate this effect.

Defines type aliases for Handler, specialized to eliminate this effect.

Attributes

Inherited from:
CanInterpret
Supertypes
class Object
trait Matchable
class Any
sealed trait ThisInterpreter

Attributes

Inherited from:
CanInterpret
Supertypes
trait Interpreter
trait Signature
class Object
trait Matchable
class Any
Known subtypes
class ConstStateful[C, S, F]
class ConstStateless[C, F]
class Proxy[Fx]
class ProxyIO
class Stateful[S, F]
class Stateless[F]
Show all

Types

override type ThisEffect = Fx1 & Fx2

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of this.type, once the signature is inherited from Effect.

Attributes

Inherited types

type !@![A, U]

Abstract type that must be used in definitions of effect's operations.

Abstract type that must be used in definitions of effect's operations.

Becomes an alias of Computation (i.e. same as !!), once the signature is inherited from Effect.

Attributes

Inherited from:
Signature
final type ThisHandler[F[_], G[_], N] = Handler[F, G, ThisEffect, N]

Alias for Handler, specialized to eliminate this effect.

Alias for Handler, specialized to eliminate this effect.

Attributes

Inherited from:
CanInterpret

Value members

Concrete methods

def &![Fx3 <: HasSignature](fx3: Fx3): Combine3[Fx1, Fx2, Fx3]

Combines with another Effect instance, for the purpose of sharing an Interpreter.

Combines with another Effect instance, for the purpose of sharing an Interpreter.

Attributes

Concrete fields

val fx1: Fx1
val fx2: Fx2

Exports

Inherited defined exports

final val Parallel: Parallel.type
Exported from Features

Attributes

Inherited from:
CanInterpret
final type Parallel = Parallel
Exported from Features$

Attributes

Inherited from:
CanInterpret
final type Sequential = Sequential
Exported from Features$

Attributes

Inherited from:
CanInterpret