Classgrdb 7.3.0GRDB
AnyDatabaseCancellable
A type-erasing cancellable object that executes a provided closure when canceled.
final class AnyDatabaseCancellable
An AnyDatabaseCancellable
instance automatically calls cancel
when deinitialized.
A type-erasing cancellable object that executes a provided closure when canceled.
final class AnyDatabaseCancellable
An AnyDatabaseCancellable
instance automatically calls cancel
when deinitialized.
import GRDB
A toolkit for SQLite databases, with a focus on application development
func cancel()
protocol DatabaseCancellable : Sendable
A protocol indicating that an activity or action supports cancellation.
protocol Sendable
convenience init(_ base: some DatabaseCancellable)
Creates a cancellable object that forwards cancellation to base
.
init(cancel: @escaping () -> Void)
Initializes the cancellable object with the given cancel-time closure.