Refactor Driver Internals

Description

We should modernize, improve and refactor driver internals to simplify maintenance.

The driver was initially build in 2013/2014, when promises and async functions didn't exist. Driver internals use callbacks which is error prone and hard to maintain.

Tasks:

  • Modernize codebase to ES2015/ES2017+.

  • Use async functions internally

  • Use class syntax for remaining internal classes: Connection, ControlConnection, FrameReader, ...

  • ...

Environment

None

Pull Requests

None

Status

Assignee

Jorge Bay Gondra

Reporter

Jorge Bay Gondra

Reviewer

None

Fix versions

None

Labels

None

Components

None

PM Priority

None

Reproduced in

None

Pull Request

None

Priority

Major

Epic Name

Refactor Driver Internals
Configure