Contents

removeAction(_:completionHandler:)

Removes an action from the action set.

Declaration

func removeAction(_ action: HMAction, completionHandler completion: @escaping  @Sendable ((any Error)?) -> Void)
func removeAction(_ action: HMAction) async throws

Parameters

  • action:

    The action to remove.

  • completion:

    The block executed after the request is processed.

    error

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

See Also

Defining the associated actions