@logixjs/react
    Preparing search index...

    Interface YieldPolicy

    interface YieldPolicy {
        onlyWhenOverBudgetMs?: number;
        strategy?: YieldStrategy;
    }
    Index

    Properties

    onlyWhenOverBudgetMs?: number

    Only enable yield when historical init cost exceeds this threshold.

    Note: the first run still forces yield (to ensure suspend mode enters pending ASAP). "First run" is memoized per runtime/session (more robust to remount/HMR).

    strategy?: YieldStrategy