Function setAsyncTimeComplexityThreshold

Updates the time complexity threshold, which is the approximate number of items we want to validate synchronously in a single batch. If no value is provided, the default value (250) is used.

After each batch, complex validators check if they should yield ("relax").

setAsyncMaxWorkIntervalMSec

  • Parameters

    • threshold: undefined | number

    Returns void