Contents

executeActionSet(_:completionHandler:)

Executes all the actions in a specified action set.

Declaration

func executeActionSet(_ actionSet: HMActionSet, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func executeActionSet(_ actionSet: HMActionSet) async throws

Parameters

  • actionSet:

    The action set to execute.

  • completion:

    The block executed after the request is processed.

    error

    nil on success; otherwise, error object indicating the reason for failure.

See Also

Creating action sets