Package: effect
Module: References
Context reference for the maximum operation budget before a fiber yields to the scheduler.
When to use
Use to configure the runtime reference for the fiber operation budget that triggers a scheduler yield.
Details
The default value is 2048 operations.
See
PreventSchedulerYield for bypassing scheduler yield checks instead of changing the operation budgetSignature
declare const MaxOpsBeforeYield: Context.Reference<number>
Since v4.0.0