Packages

c

jsonrpc4s.MonixEnrichments

XtensionObserverCompanion

implicit final class XtensionObserverCompanion[A] extends AnyVal

Linear Supertypes
AnyVal, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. XtensionObserverCompanion
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new XtensionObserverCompanion(_: Observer.type)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. val _: Observer.type
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def fromOutputStream(out: OutputStream, logger: LoggerSupport): Sync[ByteBuffer]

    An observer implementation that writes messages to the underlying output stream.

    An observer implementation that writes messages to the underlying output stream. This class is copied over from lsp4s but has been modified to synchronize writing on the output stream. Synchronizing makes sure BSP clients see server responses in the order they were sent.

    If this is a bottleneck in the future, we can consider removing the synchronized blocks here and in the body of BloopLanguageClient and replace them with a ring buffer and an id generator to make sure all server interactions are sent out in order. As it's not a performance blocker for now, we opt for the synchronized approach.

  7. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  8. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  9. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped