@ethlete/core 1.9.0 → 1.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1696,12 +1696,21 @@ class DelayableDirective {
|
|
|
1696
1696
|
return this._isDelayed$.value;
|
|
1697
1697
|
}
|
|
1698
1698
|
enableDelayed() {
|
|
1699
|
+
if (this._isDelayed$.value) {
|
|
1700
|
+
return;
|
|
1701
|
+
}
|
|
1699
1702
|
this._isDelayed$.next(true);
|
|
1700
1703
|
}
|
|
1701
1704
|
disableDelayed() {
|
|
1705
|
+
if (!this._isDelayed$.value) {
|
|
1706
|
+
return;
|
|
1707
|
+
}
|
|
1702
1708
|
this._isDelayed$.next(false);
|
|
1703
1709
|
}
|
|
1704
1710
|
setDelayed(val) {
|
|
1711
|
+
if (this._isDelayed$.value === val) {
|
|
1712
|
+
return;
|
|
1713
|
+
}
|
|
1705
1714
|
this._isDelayed$.next(val);
|
|
1706
1715
|
}
|
|
1707
1716
|
}
|