FS2Channel

trait FS2Channel[F[_]] extends Channel[F]
Companion:
object
trait Channel[F]
class Object
trait Matchable
class Any

Value members

Abstract methods

def input: (F, Payload) => Unit
def output: Stream[F, Payload]

Concrete methods

def withEndpoint(endpoint: Endpoint[F])(implicit F: Functor[F]): Resource[F, FS2Channel[F]]
def withEndpointStream(endpoint: Endpoint[F])(implicit F: MonadCancelThrow[F]): Stream[F, FS2Channel[F]]
def withEndpointStream(endpoint: Endpoint[F], rest: Endpoint[F]*)(implicit F: MonadCancelThrow[F]): Stream[F, FS2Channel[F]]
def withEndpoints(endpoint: Endpoint[F], rest: Endpoint[F]*)(implicit F: Monad[F]): Resource[F, FS2Channel[F]]
def withEndpoints(endpoints: Seq[Endpoint[F]])(implicit F: Monad[F]): Resource[F, FS2Channel[F]]
def withEndpointsStream(endpoints: Seq[Endpoint[F]])(implicit F: MonadCancelThrow[F]): Stream[F, FS2Channel[F]]

Inherited methods

def mountEndpoint(endpoint: Endpoint[F]): F[Unit]
Inherited from:
Channel
def notificationStub[In : Codec](method: String): In => F[Unit]
Inherited from:
Channel
def simpleStub[In : Codec, Out : Codec](method: String): In => F[Out]
Inherited from:
Channel
def stub[In, Err, Out](template: StubTemplate[In, Err, Out]): In => F[Either[Err, Out]]
Inherited from:
Channel
def stub[In : Codec, Err : ErrorCodec, Out : Codec](method: String): In => F[Either[Err, Out]]
Inherited from:
Channel
def unmountEndpoint(method: String): F[Unit]
Inherited from:
Channel