Yields control back to the event loop for one tick.
Resolves on the next setImmediate callback, giving the JS thread and the native bridge a chance to process queued work (UI, gestures, timers) before the caller continues.
setImmediate
Promise that resolves on the next event-loop tick
Yields control back to the event loop for one tick.
Resolves on the next
setImmediatecallback, giving the JS thread and the native bridge a chance to process queued work (UI, gestures, timers) before the caller continues.