fancy new browser
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 24 lines 578 B view raw
1import Foundation 2import MereKit 3 4/// Lightweight WebKit engine runtime is always available, load() is a no-op. 5public final class WebKitEngine: BrowserEngine { 6 7 public static let shared = WebKitEngine() 8 9 public let engineType: EngineType = .webkit 10 public private(set) var isLoaded = true 11 12 private init() {} 13 14 public func load() async throws { 15 // WebKit is always available nothing to initialise. 16 } 17 18 @MainActor 19 public func makeContext() -> any BrowserContext { 20 WebKitBrowserContext() 21 } 22 23 public func shutdown() {} 24}