mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +01:00
stream-provider - addd isConnected method
This commit is contained in:
parent
17562f111d
commit
ec7372ef51
@ -31,6 +31,10 @@ StreamProvider.prototype.sendAsync = function(payload, callback){
|
||||
this.push(payload)
|
||||
}
|
||||
|
||||
StreamProvider.prototype.isConnected = function(){
|
||||
return true
|
||||
}
|
||||
|
||||
// private
|
||||
|
||||
StreamProvider.prototype._onResponse = function(response){
|
||||
|
Loading…
Reference in New Issue
Block a user