Skip to content

Commit

Permalink
Add accessor for Client._ready
Browse files Browse the repository at this point in the history
  • Loading branch information
cristiancavalli committed Dec 15, 2016
1 parent dab97ca commit 750601e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/InspectorClient/Client.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ class Client extends EventEmitter {
.catch((err) => this._emitError(err));
});
}

// READY event interface
addReadyListener (callback) {
if (this._ready) {
Expand Down Expand Up @@ -138,6 +137,9 @@ class Client extends EventEmitter {
messageInterface () {
return this._messageInterface;
}
ready () {
return this._ready;
}
}

module.exports = Client;
Expand Down

0 comments on commit 750601e

Please sign in to comment.