Causes Automator to wait for notification that the receiver has completed execution, which allows the receiver to perform an asynchronous operation.
- macOS 10.5+
The input for the action. Should contain one or more objects compatible with one of the types specified in the action’s
This method is intended to be overridden only by actions that need to make asynchronous calls. After
run is invoked, Automator does not continue until the action invokes
finish. So in your override of this method, you can make an asynchronous call, wait to be notified of its completion, then invoke
finish to signal to Automator that the action has completed.
For actions that do not need to make asynchronous calls, the preferred method is