BspServerHandle

mill.api.internal.BspServerHandle
@Scaladoc(value = "/** With this server handle you can interact with a running Mill BSP server. */")

With this server handle you can interact with a running Mill BSP server.

Attributes

Source
BspServerHandle.scala
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

@Scaladoc(value = "/** Stops the BSP server. */")
def close(): Unit

Stops the BSP server.

Stops the BSP server.

Attributes

Source
BspServerHandle.scala
@Scaladoc(value = "/**\n * Runs a new session with the given evaluator. This one blocks until the session ends.\n * @return The reason which the session ended, possibly indicating the wish for restart (e.g. in case of workspace reload).\n */")
def runSession(evaluators: Seq[EvaluatorApi]): BspServerResult

Runs a new session with the given evaluator. This one blocks until the session ends.

Runs a new session with the given evaluator. This one blocks until the session ends.

Attributes

Returns

The reason which the session ended, possibly indicating the wish for restart (e.g. in case of workspace reload).

Source
BspServerHandle.scala