Skip to content

CoroutineAllocatorFlags

tevelee edited this page Jul 25, 2026 · 1 revision

CoroutineAllocatorFlags

Flags stored by a Swift coroutine allocator.

public struct CoroutineAllocatorFlags: Equatable, Sendable 

Inheritance

Equatable, Sendable

Initializers

init(bits:)

Creates flags from their Swift runtime representation.

public init(bits: UInt32) 

Properties

bits

Raw runtime flag bits.

public let bits: UInt32

kind

The allocation strategy, or nil for a future runtime-defined kind.

public var kind: CoroutineAllocatorKind? 

shouldDeallocateImmediately

Whether swift_coro_dealloc deallocates the frame immediately.

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

Clone this wiki locally