File tree Expand file tree Collapse file tree
Sources/PowerSync/Protocol Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import 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.
46public 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.
1216public protocol SQLiteConnectionPoolProtocol : Sendable {
1317 var tableUpdates : AsyncStream < Set < String > > { get }
1418
You can’t perform that action at this time.
0 commit comments