Companion

object Companion

Functions

Link copied to clipboard

An empty Runtime, with no loaded libraries.

Link copied to clipboard
fun of(libraries: Iterable<Library>): Runtime

Same as of, for an Iterable of libraries.

fun of(libraries: Sequence<Library>): Runtime

Same as of, for a Sequence of libraries.

fun of(vararg library: Library): Runtime

Creates a Runtime out of the given library instances. Note that, unlike plus, this does not reject clashing aliases: if two of them share the same Library.alias, the later one silently wins.