All Downloads are FREE. Search and download functionalities are using the official Maven repository.

gopher.impl.ChFlatMappedChannel.scala Maven / Gradle / Ivy

Go to download

scala-gopher: asynchronous implementation of CSP ( go-like channels/selectors ) in scala

The newest version!
package gopher.impl

import gopher._

class ChFlatMappedChannel[F[_],W,RA,RB](internal: Channel[F,W,RA], f: RA=>ReadChannel[F,RB]) extends ChFlatMappedReadChannel[F,RA,RB](internal, f)
                                                                             with Channel[F,W,RB]:

  override def addWriter(writer: Writer[W]): Unit =
    internal.addWriter(writer)

  override def close(): Unit =
    internal.close()

  override def isClosed: Boolean =
    internal.isClosed
    





© 2015 - 2025 Weber Informatics LLC | Privacy Policy