Skip to content

Commit 735fe9d

Browse files
committed
finishing Bonjour setup
1 parent d20dc55 commit 735fe9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Sources/SublimationTunnel/TunnelSublimatory.swift

+3
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,10 @@ public actor TunnelSublimatory<
168168
Task { await self.onError(error) }
169169
}
170170
private func shutdownServer() { server.shutdown() }
171+
/// Shutdown any active services.
171172
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.
172175
public func run() async throws {
173176

174177
let isConnectionRefused = self.isConnectionRefused

0 commit comments

Comments
 (0)