(
executionMode: "sync" | "async" = "async",
setImmediateFn?: (f: () => void) => () => void
)
| 154 | readonly setImmediate: (f: () => void) => () => void |
| 155 | |
| 156 | constructor( |
| 157 | executionMode: "sync" | "async" = "async", |
| 158 | setImmediateFn?: (f: () => void) => () => void |
| 159 | ) { |
| 160 | this.executionMode = executionMode |
| 161 | this.setImmediate = setImmediateFn ?? (executionMode === "sync" ? setMicrotask : setImmediate) |
| 162 | } |
| 163 | |
| 164 | /** |
| 165 | * Returns whether the fiber has reached its operation budget and should yield. |
nothing calls this directly
no outgoing calls
no test coverage detected