implicit final class XtensionObserverCompanion[A] extends AnyVal
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- XtensionObserverCompanion
- AnyVal
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new XtensionObserverCompanion(_: Observer.type)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- val _: Observer.type
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- 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
BloopLanguageClientand 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. - def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any