Skip to main content

set_global_pager

Function set_global_pager 

Source
pub fn set_global_pager(pager: ColumnPager)
Expand description

Install pager as the process-wide active pager. Subsequent global_pager calls return a clone of this value across all threads.

Prefer apply_tiered_config for the production path so the TieredPolicy budget atomic stays stable across reconfigures. Direct set_global_pager use is appropriate for tests, the disabled pager, or callers that intentionally want a fresh policy.