-
Type:
Task
-
Resolution: Won't Do
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: None
Use Case
As a Developer
I want the driver to use an injected events implementation instead of the Node.js native module.
So that I can run the driver in environments (like browsers or edge runtimes) where node:events is not available or behaves differently.
User Experience
- Driver uses the provided events adapter instead of require('events').
Acceptance Criteria
Implementation Requirements
- Remove import: remove require('events') from all places inside src folder.
Testing Requirements
- Existing tests utilizing EventEmitter functionality must pass without importing node:events.
Documentation Requirements
- DOCSP ticket, API docs, etc
Follow Up Requirements
- additional tickets to file, required releases, etc
- if node behavior differs/will differ from other drivers, confirm with dbx devs what standard to aim for and what plan, if any, exists to reconcile the diverging behavior moving forward