build
abstract fun build(builder: suspend Builder.(Config) -> Unit): ApplicationDslBuilder<Config, Builder, A>(source)
提供构建函数。
build { // this: Builder, it: Config
// ...
}
Content copied to clipboard
open fun build(builder: BiConsumer<Builder, Config>): ApplicationDslBuilder<Config, Builder, A>(source)
提供构建函数。
builder.build((builder0, config) -> {});
Content copied to clipboard