Companion

object Companion

Functions

Link copied to clipboard
fun of(setup: Setup<Unit>.() -> Unit): Module<Unit>

Constructs a module with no config.

fun <T : Any> of(config: () -> T, setup: Setup<T>.() -> Unit): Module<T>

Constructs a module with config.