* Sets the function to be run for the command. * @param fn the function to be run. * @return the command, for chaining.
(fn: ActionFunction)
| 145 | * @return the command, for chaining. |
| 146 | */ |
| 147 | action(fn: ActionFunction): Command { |
| 148 | this.actionFn = fn; |
| 149 | return this; |
| 150 | } |
| 151 | |
| 152 | /** |
| 153 | * Registers the command with the client. This is used to initially set up |
no outgoing calls
no test coverage detected