mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-22 04:00:39 +00:00
FilterCursor can't be made Sendable
This commit is contained in:
1 parent
dc0be3a10d
commit
b26e9709e7
2 files changed
+5
-1
No files matched your search
@@ -915,6 +915,10 @@ public final class FilterCursor<Base: Cursor> {
|
||||
}
|
||||
}
|
||||
|
||||
// Explicit non-conformance to Sendable.
|
||||
@available(*, unavailable)
|
||||
extension FilterCursor: Sendable { }
|
||||
|
||||
extension FilterCursor: Cursor {
|
||||
public func next() throws -> Base.Element? {
|
||||
while let element = try base.next() {
|
||||
|
||||
Reference in new issue
Block a user