MCPcopy Create free account
hub / github.com/Snapchat/Valdi / async

Method async

valdi/src/valdi/android/AndroidDispatchQueue.cpp:25–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23}
24
25void AndroidDispatchQueue::async(Valdi::DispatchFunction function) {
26 _taskQueue.enqueue(std::move(function));
27 scheduleFlush(std::chrono::steady_clock::duration(0));
28}
29
30Valdi::task_id_t AndroidDispatchQueue::asyncAfter(Valdi::DispatchFunction function,
31 std::chrono::steady_clock::duration delay) {

Callers 15

setEnabledMethod · 0.45
onJsQueueEmptyMethod · 0.45
onMainQueueEmptyMethod · 0.45
enqueueWorkerTaskMethod · 0.45
loadAssetMethod · 0.45
forceBindAttributesMethod · 0.45
enqueueLoadOperationMethod · 0.45
schedulePreloadMethod · 0.45
warmUpBundlesMethod · 0.45

Calls 2

durationFunction · 0.85
enqueueMethod · 0.45

Tested by

no test coverage detected