aboutsummaryrefslogtreecommitdiff
path: root/src/LuaRuntime.hpp
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-07-26 00:56:14 +0530
committerAkshay Nair <phenax5@gmail.com>2025-07-26 00:56:14 +0530
commit68448538172663279919b29dd09b5faa51e0628a (patch)
tree032a321c645fca3aec7ba52efd60b55048536b2b /src/LuaRuntime.hpp
parent3f56d76a2b0d528c05ab8d0a38059ca82ba90952 (diff)
downloadnull-browser-68448538172663279919b29dd09b5faa51e0628a.tar.gz
null-browser-68448538172663279919b29dd09b5faa51e0628a.zip
Add web.schedule to schedule an action after qt+libuv tick
Diffstat (limited to 'src/LuaRuntime.hpp')
-rw-r--r--src/LuaRuntime.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/LuaRuntime.hpp b/src/LuaRuntime.hpp
index 1132270..5d8e7cc 100644
--- a/src/LuaRuntime.hpp
+++ b/src/LuaRuntime.hpp
@@ -64,6 +64,7 @@ signals:
void webview_scroll_bottom_requested(WebViewId webview_id);
void decoration_set_enabled(DecorationType type, bool enabled, std::optional<WindowId> win_id);
void set_view_html(const QString &html, WebViewId view_id);
+ void schedule_for_next_tick(const std::function<void()> &action);
protected:
LuaRuntime();