MCPcopy
hub / github.com/multica-ai/multica / FeatureFlagContextValue

Interface FeatureFlagContextValue

packages/core/feature-flags/context.tsx:27–30  ·  view source on GitHub ↗

* React glue for the FeatureFlagService. * * Two pieces are exported: * * - FeatureFlagsProvider: wraps a part of the tree with a Service * and an EvalContext. The Service is usually constructed once at the * application root; the EvalContext changes as the user context changes

Source from the content-addressed store, hash-verified

25 */
26
27interface FeatureFlagContextValue {
28 service: FeatureFlagService;
29 ctx: EvalContext;
30}
31
32const FeatureFlagContext = createContext<FeatureFlagContextValue | null>(null);
33

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected