SwiftactorHomeDataModel
CancellableBlockRunner
actor HomeDataModel.CancellableBlockRunner
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Actor
Members 11
- deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
let block: @Sendable (HomeDataModel.CancellableBlockRunner<A>?) async throws -> A+0x70 - field
var cancelable: HMFCancellable?+0x80 - field
var continuation: CheckedContinuation<A, Error>? - field
var isCancelled: Bool - field
var onCancelBlock: (@Sendable () -> ())? - func
cancel() -> () - func
run() async throws -> A - init
HomeDataModel.CancellableBlockRunner.__allocating_init(block: @Sendable (HomeDataModel.CancellableBlockRunner<A>?) async throws -> A) -> HomeDataModel.CancellableBlockRunner<A> - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
actor CancellableBlockRunner<A> { let block: @Sendable (_: HomeDataModel.CancellableBlockRunner<A>?) async throws -> A var cancelable: (any __C.HMFCancellable)? var continuation: Swift.CheckedContinuation<A, any Swift.Error>? var onCancelBlock: (@Sendable () -> ())? var isCancelled: Swift.Bool init(block: @escaping @Sendable (_: HomeDataModel.CancellableBlockRunner<A>?) async throws -> A) func run() async throws -> A func cancel() var unownedExecutor: Swift.UnownedSerialExecutor { get } deinit }