-
- All Implemented Interfaces:
public final class SupplierBuilderKt
-
-
Method Summary
Modifier and Type Method Description final static <T extends Any> ConfigSourceSupplier<T>from(String $self, ConfigSource configSource)A standalone function which can be called to 'kick off' the construction of a ConfigSourceSupplier from a key and a ConfigSource, a la:val port: Int by config("app.server.port". -
-
Method Detail
-
from
final static <T extends Any> ConfigSourceSupplier<T> from(String $self, ConfigSource configSource)
A standalone function which can be called to 'kick off' the construction of a ConfigSourceSupplier from a key and a ConfigSource, a la:
val port: Int by config("app.server.port".from(configSource))
-
-
-
-