The internal actionserver code treats the cancelcallback as an awaitable
object. Yet the CancelCallback type definition specifies only a return
type of CancelResponse. The proper CancelCallback function definition
should return a union of CallbackResponse or a Promise that resolves to
a CallbackResponse.
This fix is related to fix #831 contributed by @JGAntunes
Coverage remained the same at 90.471% when pulling 3c775ad951c320b8fd9cd0254d7b27615463bda3 on wayneparrott:develop into 8d23878f62e8c90feb8aadec2a6c062a04fa2198 on RobotWebTools:develop.
The internal actionserver code treats the cancelcallback as an awaitable object. Yet the CancelCallback type definition specifies only a return type of CancelResponse. The proper CancelCallback function definition should return a union of CallbackResponse or a Promise that resolves to a CallbackResponse.
This fix is related to fix #831 contributed by @JGAntunes