PromiseChannel
class PromiseChannel[F[_], A](val gopherApi: JVMGopher[F], taskExecutor: ExecutorService) extends Channel[F, A, A]
Channel is closed immediatly after successfull write.
Channel is closed immediatly after successfull write.
trait Closeable
trait AutoCloseable
class Object
trait Matchable
class Any
Type members
Inherited classlikes
Inherited types
Value members
Concrete methods
Inherited methods
async version of read. Immediatly return future, which will contains result of read or failur with StreamClosedException in case of stream is closed.
async version of read. Immediatly return future, which will contains result of read or failur with StreamClosedException in case of stream is closed.
- Inherited from
- ReadChannel
return F which contains sequence from first n
elements.
return F which contains sequence from first n
elements.
- Inherited from
- ReadChannel
run code each time when new object is arriced. until end of stream is not reached
run code each time when new object is arriced. until end of stream is not reached
- Inherited from
- ReadChannel
def withWriteExpiration(ttl: FiniteDuration, throwTimeouts: Boolean)(using gopherApi: Gopher[F]): WriteChannelWithExpiration[F, A]
- Inherited from
- WriteChannel