effect-io-ai

Package: effect
Module: References

References.MaxOpsBeforeYield

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

Signature

declare const MaxOpsBeforeYield: Context.Reference<number>

Source

Since v4.0.0