Skip to content

Commit 0e4893d

Browse files
committed
Mark connection lease and pool protocols as internal
1 parent ff32bec commit 0e4893d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

Sources/PowerSync/Protocol/SQLiteConnectionPool.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
import Foundation
22

33
/// A lease representing a temporarily borrowed SQLite connection from the pool.
4+
///
5+
/// This is an internal protocol and should not be implemented outside of the PowerSync SDK.
46
public protocol SQLiteConnectionLease {
57
/// Pointer to the underlying SQLite connection.
68
/// This pointer should not be used outside of the closure which provided the lease.
@@ -9,6 +11,8 @@ public protocol SQLiteConnectionLease {
911

1012
/// An implementation of a connection pool providing asynchronous access to a single writer and multiple readers.
1113
/// This is the underlying pool implementation on which the higher-level PowerSync Swift SDK is built on.
14+
///
15+
/// This is an internal protocol and should not be implemented outside of the PowerSync SDK.
1216
public protocol SQLiteConnectionPoolProtocol: Sendable {
1317
var tableUpdates: AsyncStream<Set<String>> { get }
1418

0 commit comments

Comments
 (0)