BrowserLauncherProtocol
@MainActor
public protocol BrowserLauncherProtocol : Sendable
A protocol to abstract the BrowserLauncher functionality (if not already provided). (If your project already has a protocol that BrowserLauncher conforms to, you can use it.)
-
Declaration
Swift
@MainActor var isInProgress: Bool { get }
-
launch(url:
AsynchronousbrowserType: callbackURLScheme: ) Declaration
Swift
@MainActor func launch(url: URL, browserType: BrowserType, callbackURLScheme: String) async throws -> URL
-
Declaration
Swift
@MainActor func reset()