We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d20dc55 commit 735fe9dCopy full SHA for 735fe9d
Sources/SublimationTunnel/TunnelSublimatory.swift
@@ -168,7 +168,10 @@ public actor TunnelSublimatory<
168
Task { await self.onError(error) }
169
}
170
private func shutdownServer() { server.shutdown() }
171
+ /// Shutdown any active services.
172
public nonisolated func shutdown() { Task { await self.shutdownServer() } }
173
+ /// Runs the Sublimatory service.
174
+ /// - Note: This method contains long running work, returning from it is seen as a failure.
175
public func run() async throws {
176
177
let isConnectionRefused = self.isConnectionRefused
0 commit comments