MCPcopy Create free account
hub / github.com/GlobedGD/globed2 / queue

Method queue

src/util/FunctionQueue.cpp:8–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6namespace globed {
7
8void FunctionQueue::queue(Func&& func, size_t frames) {
9 auto guard = m_queue.lock();
10 guard->push(Queued{
11 .expTick = m_tick + frames,
12 .func = std::move(func),
13 });
14}
15
16void FunctionQueue::queueDelay(Func&& func, asp::time::Duration delay) {
17 auto guard = m_delayedQueue.lock();

Callers 12

handleStateEventMethod · 0.80
onSubmitBtnMethod · 0.80
updatePageWithObjectFunction · 0.80
forceWarpFunction · 0.80
invokeListenersFunction · 0.80
showDisconnectCauseMethod · 0.80
connectCentralMethod · 0.80
setupAudioMethod · 0.80
deferredUpdateFunction · 0.80
onToggledMethod · 0.80
initMethod · 0.80
stopWaitingMethod · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected