-
Type: Task
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: None
-
Component/s: None
Use Case
As a... node driver user
I want... CommandOperation to use async syntax
So that... the driver is closer to generating async stack traces
User Impact
This is an internal change
Dependencies
- None
Unknowns
Acceptance Criteria
Implementation Requirements
- Add a new CommandOperation subclass of AbstractOperation
- rename the existing class CommandCallbackOperation
- In CommandOperation, change executeCommand method to run async
- rename executeCommand to executeCommandAsync
- change server.command to server.commandAsync, remove the callback argument, and await it
- change executeCommand to no longer take a callback
- Modify all operations to subclass CommandCallbackOperation
Testing Requirements
- Add a test to see that an operation invokes executeCommandAsync when subclassing from CommandOperation
Documentation Requirements
- None
Follow Up Requirements
- None