Skip to content

Commit

Permalink
makes repo.peerId nonisolated for synchronous access
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed Apr 15, 2024
1 parent 5e85311 commit 4a07dcc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/AutomergeRepo/Repo.swift
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public protocol EphemeralMessageDelegate: Sendable {
}

public actor Repo {
public let peerId: PEER_ID
nonisolated public let peerId: PEER_ID
public var localPeerMetadata: PeerMetadata

private var handles: [DocumentId: InternalDocHandle] = [:]
Expand Down

0 comments on commit 4a07dcc

Please sign in to comment.