Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 490 Bytes

File metadata and controls

16 lines (12 loc) · 490 Bytes
layout api_prebidjs
title pbjs.yield
description yield setting
sidebarType 1

Since version 10, pbjs.processQueue yields the main browser thread after executing each command in the queue, to improve UX (and some related metrics such as interaction to next paint).

You can disable yielding by setting pbjs.yield to false:

pbjs.yield = false;

pbjs.que.push(/* ... */)