The definition of an action that doesn't return a result omits hasResult or explicitly specifies hasResult: false.
hasResult
hasResult: false
A function called when the callback executes, potentially returning a result value.
Optional
The definition of an action that doesn't return a result omits
hasResultor explicitly specifieshasResult: false.