to

fun to(name: String, serviceConfig: ServiceConfig.() -> Unit = {}, bind: Bind.() -> Unit)(source)

Bind to a named dynamic service.