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

    Function createAfterHealthyFor

    • Creates a policy that resets once the component has operated without failing for the given duration. Repeated healthy reports do not move the starting point; only a failure clears it.

      Parameters

      • healthyForMs: number

        How long the component must operate without failing, in milliseconds; must be a positive, finite number.

      • Optionalclock: () => number

        The time source used to measure the healthy stretch; defaults to a monotonic clock. Primarily for testing.

      Returns ResetPolicy