@reactive-js/disposable
Advanced tools
Comparing version 0.0.22 to 0.0.23
@@ -88,3 +88,5 @@ "use strict"; | ||
isDisposed: true, | ||
dispose() { return false; }, | ||
dispose() { | ||
return false; | ||
}, | ||
remove(..._) { | ||
@@ -91,0 +93,0 @@ return _disposed; |
@@ -86,3 +86,5 @@ const doDispose = (disposable) => { | ||
isDisposed: true, | ||
dispose() { return false; }, | ||
dispose() { | ||
return false; | ||
}, | ||
remove(..._) { | ||
@@ -89,0 +91,0 @@ return _disposed; |
@@ -53,7 +53,7 @@ | ||
▸ **dispose**(): *void* | ||
▸ **dispose**(): *boolean* | ||
Dispose the resource, the operation should be idempotent. | ||
**Returns:** *void* | ||
**Returns:** *boolean* | ||
@@ -60,0 +60,0 @@ ___ |
@@ -108,3 +108,3 @@ | ||
▸ **dispose**(`this`: [DelegatingDisposableLike](interfaces/delegatingdisposablelike.md)): *void* | ||
▸ **dispose**(`this`: [DelegatingDisposableLike](interfaces/delegatingdisposablelike.md)): *boolean* | ||
@@ -117,3 +117,3 @@ **Parameters:** | ||
**Returns:** *void* | ||
**Returns:** *boolean* | ||
@@ -120,0 +120,0 @@ ### remove |
{ | ||
"name": "@reactive-js/disposable", | ||
"version": "0.0.22", | ||
"version": "0.0.23", | ||
"main": "dist/cjs/index.js", | ||
@@ -65,3 +65,3 @@ "module": "dist/esm5/index.js", | ||
}, | ||
"gitHead": "e248139a5eb2c5dd02315ca5743c934d99320ad3" | ||
"gitHead": "413ea5c12bc7b59dcc73cab0e33ff3c9acd941f2" | ||
} |
@@ -136,3 +136,5 @@ export type DisposableOrTeardown = DisposableLike | (() => void); | ||
isDisposed: true, | ||
dispose() { return false; }, | ||
dispose() { | ||
return false; | ||
}, | ||
remove(..._: DisposableOrTeardown[]) { | ||
@@ -139,0 +141,0 @@ return _disposed; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
353238
25
677