syncromatics / syncromatics-track-api

Library to interact with the Syncromatics Track API
https://www.npmjs.com/package/syncromatics-track-api
6 stars 1 forks source link

feat(reconnect): Attach disconnect and reconnect handlers. #66

Closed cuevaskoch closed 4 years ago

cuevaskoch commented 4 years ago

Allow handlers to be attached to the RealTimeClient to be fired in case of an unexpected disconnect or an ensuing reconnect. Handlers are attached through the RealTimeContextFactory to provide a uniform interface.

This commit also cleans up all linting errors.

Supports EN-4172.

Signed-off-by: Jeff Cuevas-Koch jcuevas-koch@gmvsync.com