Implement Pluggable Timers Adapter

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Do
    • Priority: Unknown
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None

      Use Case

      As a Developer
      I want the driver to use an injected timers adapter.
      So that I can handle scheduling (timeouts, intervals) in environments that do not have node timers module.

      User Experience

      • Driver uses driverAdapters.timers for scheduling.

      Acceptance Criteria

      Implementation Requirements

      • Remove import: Remove require('timers') from all places inside src folder.

      Testing Requirements

      • Timeouts in connection logic work as expected using the adapter.
      • Verify no node:timers usage.

      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

            Assignee:
            Unassigned
            Reporter:
            Sergey Zelenov
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: