SetIdle

mill.server.Server.SetIdle
@FunctionalInterface
trait SetIdle

Controls whether the server is considered idle.

Attributes

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

Members list

Value members

Abstract methods

def apply(idle: Boolean): Unit

Value parameters

idle

true when server is not processing any requests, false when server is processing a request.

Attributes

Source
Server.scala

Concrete methods

inline def doWork[A](f: => A): A

Runs the provided function, setting the server as non-idle while it runs.

Runs the provided function, setting the server as non-idle while it runs.

Attributes

Source
Server.scala