///| Interfaces not served yet (filled in stage by stage). ///| fn display_wait_fds() -> Array[Int] { [] } ///| fn display_funcs() -> Array[(String, (Array[@wt.Val]) -> Array[@wt.Val])] { [ ("open", _ => [Option(None)]), ("poll", _ => [Bool(false)]), ("frame-ready", _ => [Bool(false)]), ("present", _ => none), ("present-frame", _ => none), ("set-cursor-shape", _ => none), ("take-input", _ => [List([])]), ("close", _ => none), ] } ///| fn plasmoid_funcs() -> Array[(String, (Array[@wt.Val]) -> Array[@wt.Val])] { [ ("load", _ => [Result(false, Some(Str("not yet")))]), ("unload", _ => none), ("set-tokens", _ => none), ("render", _ => [List([])]), ("popup", _ => [Option(None)]), ("on-event", _ => [Bool(false)]), ("config-items", _ => [List([])]), ("set-config", _ => [Bool(false)]), ("publish-table", _ => none), ("publish-state", _ => none), ("publish-wallpaper", _ => none), ("publish-session-settings", _ => none), ("publish-screenshot", _ => none), ("publish-system", _ => none), ("publish-windows", _ => none), ("next-request", _ => [Option(None)]), ("take-focus-request", _ => [Option(None)]), ("list-wasm-files", _ => [List([])]), ("picker-start", _ => [Bool(false)]), ("picker-poll", _ => [Variant("cancelled", None)]), ] }