Skip to content

Commit

Permalink
Make client.close() and session.client public
Browse files Browse the repository at this point in the history
  • Loading branch information
za-creature committed Nov 8, 2024
1 parent fa95f00 commit 23bb243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public class OuisyncClient {
})
}

func close() async {
public func close() async {
typealias Continuation = CheckedContinuation<Void, Never>

class Context {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class OuisyncSession {
let configsPath: String
let logsPath: String

let client: OuisyncClient
public let client: OuisyncClient

var nextMessageId: MessageId = 0
var pendingResponses: [MessageId: CheckedContinuation<Response, any Error>] = [:]
Expand Down

0 comments on commit 23bb243

Please sign in to comment.