init(identifier:asyncGetter:)
Creates an app intent entity property. Do not call this directly, use @ComputedProperty or @DeferredProperty
Declaration
convenience init<Entity>(identifier: String, asyncGetter: @escaping @Sendable (Entity) async throws -> Value) where Entity : AppEntity, Value.ValueType == EntityCollection<Entity>Parameters
- identifier:
The identifier of the property
- asyncGetter:
The getter reference for the property