SwiftactorHMFoundation
AsyncSerialQueue
actor HMFoundation.AsyncSerialQueue
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
inherits{}
- protocolSwift.Actor
Members 9
- deinit
deinit - field
var $defaultActor: Builtin.DefaultActorStorage+0x10 - field
var continuations: CollectionsInternal.Deque<CheckedContinuation<(), Never>> - field
let internalFatalError: (@autoclosure () -> String, StaticString, UInt) -> Any - field
var isProcessing: Bool+0x70 - func
perform<A where A: Sendable>(@Sendable () async throws -> A) async -> Task<A, Error> - func
performAndWait<A where A: Sendable>(@Sendable () async throws -> A) async throws -> A - init
HMFoundation.AsyncSerialQueue.__allocating_init() -> HMFoundation.AsyncSerialQueue - var
var unownedExecutor: UnownedSerialExecutor { get }
Header
actor AsyncSerialQueue { var isProcessing: Swift.Bool var continuations: CollectionsInternal.Deque<Swift.CheckedContinuation<(), Swift.Never>> let internalFatalError: (@autoclosure () -> Swift.String, Swift.StaticString, Swift.UInt) -> Any init() func performAndWait<A>(_: @Sendable () async throws -> A) async throws -> A where A: Swift.Sendable func perform<A>(_: @escaping @Sendable () async throws -> A) async -> Swift.Task<A, any Swift.Error> where A: Swift.Sendable var unownedExecutor: Swift.UnownedSerialExecutor { get } deinit }