Nui
Namespaces | Functions
throttle.cpp File Reference
#include <nui/frontend/api/throttle.hpp>
Include dependency graph for throttle.cpp:

Namespaces

 Nui
 

Functions

void Nui::throttle (int milliseconds, std::function< void()> toWrap, std::function< void(ThrottledFunction &&)> callback, bool callWhenReady=false)
 Creates a function that can be used to call a function at most once during the specified interval. More...