pub type JobQueueDrainFn = fn(&mut JSContext);Expand description
Function pointer type for draining the JS job queue (microtask queue).
Registered by bao_engine at startup. bun_sm calls this after module evaluation to flush pending promise microtasks. This callback pattern avoids bun_sm depending on bao_engine (which would create a circular dependency).