Protocol

object Protocol
Companion
class
class Object
trait Matchable
class Any

Type members

Classlikes

trait AndValue[F[_]]
Companion
object
object AndValue
Companion
class
trait RequestResponse[F[_]]

Polymorphic bi-directional protocol.

Polymorphic bi-directional protocol.

This is polymorphic in the sense that the response protocol can vary based on the runtime value of the request. By calling prepareSend with a request value, one can get back the appropriate, associated response protocol.

Companion
object
Companion
class

Types

type Of[F[_], A] = Protocol[F] { type Type = A; }

Value members

Concrete methods

def apply[F[_], A](c: F[A]): Of[F, A]