Hyperlinkv0.8.0-beta.28

DynamicConfig

export class DynamicConfigStore extends Context.Service<
  DynamicConfigStore,
  {
    readonly setRaw: (
      entries: ReadonlyArray<readonly [string, string]>,
    ) => Effect.Effect<void>;
    readonly unsetRaw: (keys: ReadonlyArray<string>) => Effect.Effect<void>;
    readonly changedKeys: Stream.Stream<ReadonlyArray<string>>;
    /** This provision's {@link setByKey} allowlist: the process-wide {@link SwappableRegistry}
     *  (from {@link globalSwappable}) plus any {@link swappable} fields in the config passed to
     *  {@link layer}. */
    readonly allowed: ReadonlyMap<string, Config.Config<unknown>>;
  }
>()("hyperlink-ts/DynamicConfig/DynamicConfigStore") {}
Referenced by 4 symbols