Creates an action that executes a block on a specific dispatch queue.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 3.0+
The block to run.
The queue to perform the action on.
A new action object.
When the action executes, the block is called. This action takes place instantaneously.
This action is not reversible; the reverse action executes the same block.