AnyDatabaseCancellable

public class AnyDatabaseCancellable : DatabaseCancellable

A type-erasing cancellable object that executes a provided closure when canceled.

An AnyDatabaseCancellable instance automatically calls cancel() when deinitialized.