@launchdarkly/react-native-client-sdk - v10.23.4
    Preparing search index...

    Interface SourceFactoryProvider

    Converts declarative InitializerEntry and SynchronizerEntry descriptors from the mode table into concrete InitializerFactory and SynchronizerSlot instances that the FDv2DataSource orchestrator can use.

    interface SourceFactoryProvider {
        createInitializerFactory(
            entry: InitializerEntry,
            ctx: SourceFactoryContext,
        ): InitializerFactory | undefined;
        createSynchronizerSlot(
            entry: SynchronizerEntry,
            ctx: SourceFactoryContext,
        ): SynchronizerSlot | undefined;
    }
    Index
    • Create an initializer factory from an initializer entry descriptor. Returns undefined if the entry type is not supported.

      Parameters

      Returns InitializerFactory | undefined

    • Create a synchronizer slot from a synchronizer entry descriptor. Returns undefined if the entry type is not supported.

      Parameters

      Returns SynchronizerSlot | undefined