Yield control to the event loop. Mirrors tier1-index.ts so we
don't pin the Node test runner — scheduler.yield (browsers /
Node 22+) and setImmediate (Node fallback) are preferred over
the MessageChannel trick because the latter requires explicit
port closure to release the loop reference.
Yield control to the event loop. Mirrors
tier1-index.tsso we don't pin the Node test runner —scheduler.yield(browsers / Node 22+) andsetImmediate(Node fallback) are preferred over the MessageChannel trick because the latter requires explicit port closure to release the loop reference.