Expose hasSubscriptions on api rx interface (#1479)

This commit is contained in:
Jaco Greeff
2019-10-12 11:16:57 +02:00
committed by GitHub
parent f7ca638a1a
commit 6fab577e23
+1
View File
@@ -127,6 +127,7 @@ export default abstract class Decorate<ApiType> extends Events {
this._type = type;
this._rpcCore = new RpcCore(thisProvider);
this._isConnected = new BehaviorSubject(this._rpcCore.provider.isConnected());
this._rx.hasSubscriptions = this._rpcCore.provider.hasSubscriptions;
}
/**