Comparing version 0.2.18 to 0.2.19
@@ -110,4 +110,8 @@ /* | ||
link.is_itself_closed = function() { | ||
return this.state.is_closed(); | ||
}; | ||
link.is_closed = function () { | ||
return this.session.is_closed() || this.state.is_closed(); | ||
return this.session.is_closed() || this.is_itself_closed(); | ||
}; | ||
@@ -114,0 +118,0 @@ |
@@ -573,4 +573,8 @@ /* | ||
Session.prototype.is_itself_closed = function () { | ||
return this.state.is_closed(); | ||
}; | ||
Session.prototype.is_closed = function () { | ||
return this.connection.is_closed() || this.state.is_closed(); | ||
return this.connection.is_closed() || this.is_itself_closed(); | ||
}; | ||
@@ -577,0 +581,0 @@ |
{ | ||
"name": "rhea", | ||
"version": "0.2.18", | ||
"version": "0.2.19", | ||
"description": "reactive AMQP 1.0 library", | ||
@@ -5,0 +5,0 @@ "homepage": "http://github.com/amqp/rhea", |
@@ -593,2 +593,6 @@ /// <reference types="node" /> | ||
is_remote_open(): boolean; | ||
/** | ||
* Determines whether both local and remote endpoints are closed. | ||
* @returns {boolean} `true` - closed, `false` otherwise. | ||
*/ | ||
is_closed(): boolean; | ||
@@ -595,0 +599,0 @@ create_session(): Session; |
@@ -44,3 +44,13 @@ /// <reference types="node" /> | ||
is_remote_open(): boolean; | ||
/** | ||
* Determines whether both local and remote endpoint for link or it's underlying session | ||
* or it's underlying connection are closed. | ||
* @returns {boolean} `true` - closed, `false` otherwise. | ||
*/ | ||
is_closed(): boolean; | ||
/** | ||
* Determines whether both local and remote endpoint for just the link itself are closed. | ||
* @returns {boolean} `true` - closed, `false` otherwise. | ||
*/ | ||
is_itself_closed(): boolean; | ||
has_credit(): boolean; | ||
@@ -47,0 +57,0 @@ is_receiver(): boolean; |
@@ -55,3 +55,13 @@ /// <reference types="node" /> | ||
is_remote_open(): boolean; | ||
/** | ||
* Determines whether both local and remote endpoint for session or it's underlying | ||
* connection are closed. | ||
* @returns {boolean} `true` - closed, `false` otherwise. | ||
*/ | ||
is_closed(): boolean; | ||
/** | ||
* Determines whether both local and remote endpoint for just the session itself are closed. | ||
* @returns {boolean} `true` - closed, `false` otherwise. | ||
*/ | ||
is_itself_closed(): boolean; | ||
remove(): void; | ||
@@ -58,0 +68,0 @@ } |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
888460
14794