diff options
| author | Akshay Nair <phenax5@gmail.com> | 2025-07-26 00:56:14 +0530 |
|---|---|---|
| committer | Akshay Nair <phenax5@gmail.com> | 2025-07-26 00:56:14 +0530 |
| commit | 68448538172663279919b29dd09b5faa51e0628a (patch) | |
| tree | 032a321c645fca3aec7ba52efd60b55048536b2b /src/LuaRuntime.hpp | |
| parent | 3f56d76a2b0d528c05ab8d0a38059ca82ba90952 (diff) | |
| download | null-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.hpp | 1 |
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(); |
