Skip to content

AsyncContinuationFlags

tevelee edited this page Jul 25, 2026 · 1 revision

AsyncContinuationFlags

Flags supplied when initializing an async continuation.

public struct AsyncContinuationFlags: Equatable, Sendable 

Inheritance

Equatable, Sendable

Initializers

init(bits:)

Creates flags from their Swift runtime representation.

public init(bits: UInt) 

Properties

bits

Raw runtime flag bits.

public let bits: UInt

canThrow

Whether the continuation may throw.

public var canThrow: Bool 

hasExecutorOverride

Whether the continuation has an executor override.

public var hasExecutorOverride: Bool 

isPreawaited

Whether the continuation was pre-awaited.

public var isPreawaited: Bool 

isExecutorSwitchForced

Whether resumption must force an executor switch.

public var isExecutorSwitchForced: Bool 
Types
Protocols
Global Typealiases
Global Variables
Global Functions

Clone this wiki locally