diff options
| author | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-23 11:04:30 +0000 |
|---|---|---|
| committer | Andrej Mihajlov <and@codeispoetry.ru> | 2017-03-23 11:04:30 +0000 |
| commit | 27fcbbbfc7709e0b54c04d3f782b5bad5826dd81 (patch) | |
| tree | 4f2618f88c79bcab1db56c0957095e9594c47a6b | |
| parent | b235dc89f634b9dbba2074a0498997c36940f72d (diff) | |
| download | mullvadvpn-27fcbbbfc7709e0b54c04d3f782b5bad5826dd81.tar.xz mullvadvpn-27fcbbbfc7709e0b54c04d3f782b5bad5826dd81.zip | |
Document Backend._startReachability
| -rw-r--r-- | app/lib/backend.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/lib/backend.js b/app/lib/backend.js index 0f75d7515c..02001fa73d 100644 --- a/app/lib/backend.js +++ b/app/lib/backend.js @@ -485,6 +485,14 @@ export default class Backend extends EventEmitter { this.emit(Backend.EventType.updatedIp, ip.join('.')); } + /** + * Start reachability monitoring for online/offline detection + * This is currently done via HTML5 APIs but will be replaced later + * with proper backend integration. + * @private + * @memberOf Backend + * @emits Backend.EventType.updatedReachability + */ _startReachability() { // update online status in background setTimeout(() => { |
