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

Namespaces

 Nui
 

Functions

void Nui::setInterval (int milliseconds, std::function< void()> toWrap, std::function< void(TimerHandle &&)> callback)
 Creates a new timer that calls "toWrap" every "milliseconds" milliseconds. More...
 
void Nui::setTimeout (int milliseconds, std::function< void()> toWrap, std::function< void(TimerHandle)> callback)
 Creates a new delayed function that calls "toWrap" after "milliseconds" milliseconds. More...