object FS2Channel
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- FS2Channel
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def resource[F[_]](bufferSize: Int = 2048, cancelTemplate: Option[CancelTemplate] = None)(implicit arg0: Concurrent[F]): Resource[F, FS2Channel[F]]
Creates a new
FS2Channel[F]
as a managed resource with a configurable buffer size for bidirectional message processing.Creates a new
FS2Channel[F]
as a managed resource with a configurable buffer size for bidirectional message processing.Optionally, a
CancelTemplate
can be provided to support client-initiated cancellation of inflight requests via a dedicated cancellation endpoint.- bufferSize
Size of the internal outbound message queue (default: 2048)
- cancelTemplate
Optional handler that defines how to decode and handle cancellation requests
- returns
A
Resource
that manages the lifecycle of the channel and its internal supervisor
- def stream[F[_]](bufferSize: Int = 2048, cancelTemplate: Option[CancelTemplate] = None)(implicit arg0: Concurrent[F]): Stream[F, FS2Channel[F]]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def apply[F[_]](bufferSize: Int = 2048, cancelTemplate: Option[CancelTemplate] = None)(implicit arg0: Concurrent[F]): Stream[F, FS2Channel[F]]
- Annotations
- @deprecated
- Deprecated
(Since version 0.0.9) use stream or resource
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)