Creates a flag provider from plugin options.
Dispatches on the provider discriminant, wiring the DB arm with ctx.runtime and ctx.logger.
provider
ctx.runtime
ctx.logger
Plugin options (discriminated union).
Plugin context (for runtime / logger).
runtime
logger
A configured FlagProvider.
FlagProvider
If the provider discriminant is unrecognized.
Creates a flag provider from plugin options.
Dispatches on the
providerdiscriminant, wiring the DB arm withctx.runtimeandctx.logger.