ServerBuilder

Companion for creating a builder for a preview server.

Companion:
class
class Object
trait Matchable
class Any

Type members

Types

type Logger[F[_]] = String => F[Unit]

Value members

Concrete methods

def apply[F[_] : Async](parser: Resource[F, TreeParser[F]], inputs: InputTreeBuilder[F]): ServerBuilder[F]

Creates a new builder for a preview server based on the provided parser and inputs. Further aspects like theme, port, poll interval and other details can optionally be configured with the API of the returned instance.

Creates a new builder for a preview server based on the provided parser and inputs. Further aspects like theme, port, poll interval and other details can optionally be configured with the API of the returned instance.