API reference

Every public class, method, and event in @codexo/exojs. Generated from source.

I

interfaceCoroutineSystemOptions

@codexo/exojs / core / stable

3
props
0
methods
0
events
Import
import { CoroutineSystemOptions } from '@codexo/exojs'
Properties3
Time the system may spend advancing coroutines per frame, either an absolute figure or a share of what the frame has left. The share is taken once, at the start of the phase: min(frameRemaining * share, max). Default { share: 0.25, max: 0.004 } - a busy frame therefore withdraws instead of adding a fixed cost to a frame that has already missed its target, and an idle one lends more than a fixed figure would. max bounds input latency, not overshoot: it caps how long post-flush work can delay the next frame request however idle the application looks.
Floor under the per-frame slice, granted even on a frame that has already missed its target, so the coroutine stepped first always sees a positive FrameBudget.timeRemaining. Default is a 64th of the display cadence - 0.26 ms at 60 Hz, 0.11 ms at 144 Hz. Set it to zero to decline the grant.
order?: number
Registry tick order. Default SystemOrder.CoreCoroutines's neighbourhood; 0 unless given.
Source