SwiftinitAppIntentsAppIntents.EntityProperty

init

AppIntents.EntityProperty< where A.ValueType == Bool>.init<A where A1: AppIntents.AppEntity>(identifier: _const String, indexingKey: PartialKeyPath<CSSearchableItemAttributeSet>, asyncGetter: @Sendable (A1) async throws -> A) -> AppIntents.EntityProperty<A>

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

generic{}

AA1

req{}

param{}

  1. 0identifier:
  2. 1indexingKey:
  3. 2asyncGetter:
    function@Sendable (A1) async throws -> Asendableescapingasyncthrows
    • paramgenericParameterA1
    • returnsgenericParameterA

result{}

  • arggenericParameterA