Contents

load(_:_:_:isolation:)

Loads two or more properties asynchronously and returns the values.

Declaration

@backDeployed(before: macOS 26.0, iOS 26.0, tvOS 26.0, watchOS 26.0, visionOS 26.0)
func load<A, B, each C>(_ firstProperty: AVAsyncProperty<Self, A>, _ secondProperty: AVAsyncProperty<Self, B>, _ properties: repeat AVAsyncProperty<Self, each C>, isolation: isolated (any Actor)? = #isolation) async throws -> (A, B, repeat each C)

Parameters

  • firstProperty:

    A property to load.

  • secondProperty:

    A second property to load.

  • properties:

    Additional properties to load.

  • isolation:

    The isolation context.

Return Value

The loaded properties in a tuple.

Discussion

See the load(_:isolation:) method for more information.

See Also

Loading property values