jsonrpclib.fs2.FS2Channel
See theFS2Channel companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
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.
Value parameters
-
bufferSize
-
Size of the internal outbound message queue (default: 2048)
-
cancelTemplate
-
Optional handler that defines how to decode and handle cancellation requests
Attributes
-
Returns
-
A Resource
that manages the lifecycle of the channel and its internal supervisor
Attributes
-
Deprecated
-
true