add runIdleTasks

This commit is contained in:
Pierre Tachoire
2025-06-30 18:50:04 -07:00
parent 22a93a9c39
commit 3c0143af92
3 changed files with 13 additions and 6 deletions

View File

@@ -14,7 +14,7 @@ const Notification = @import("notification.zig").Notification;
pub const App = struct {
loop: *Loop,
config: Config,
platform: *const Platform,
platform: ?*const Platform,
allocator: Allocator,
telemetry: Telemetry,
http_client: http.Client,
@@ -30,7 +30,7 @@ pub const App = struct {
pub const Config = struct {
run_mode: RunMode,
platform: *const Platform,
platform: ?*const Platform = null,
tls_verify_host: bool = true,
http_proxy: ?std.Uri = null,
proxy_type: ?http.ProxyType = null,