enableSwitchingProviders

@DelicateMetroGradleApi(message = "Switching providers are an experimental feature")
val enableSwitchingProviders: Property<Boolean>(source)

Enables switching providers for deferred class loading. This reduces graph initialization time by deferring bindings' class init until it's actually requested.

This is analogous to Dagger's fastInit option.

You should really only use this if you've benchmarked it and measured a meaningful difference, as it comes with the same tradeoffs (always holding a graph instance ref, etc.)

Disabled by default.