@adaas/a-concept 0.1.41 → 0.1.42
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.
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/global/A-Feature/A-Feature.class.ts +2 -1
- package/tests/A-Feature.test.ts +369 -367
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adaas/a-concept",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.42",
|
|
4
4
|
"description": "A-Concept is a framework to build new Applications within or outside the ADAAS ecosystem. This framework is designed to be modular structure regardless environment and program goal.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -441,6 +441,8 @@ export class A_Feature<T extends A_TYPES__FeatureAvailableComponents = A_TYPES__
|
|
|
441
441
|
) {
|
|
442
442
|
if (this.isDone) return;
|
|
443
443
|
|
|
444
|
+
this._state = A_TYPES__FeatureState.INTERRUPTED;
|
|
445
|
+
|
|
444
446
|
switch (true) {
|
|
445
447
|
case A_TypeGuards.isString(reason):
|
|
446
448
|
this._error = new A_FeatureError(A_FeatureError.Interruption, reason);
|
|
@@ -460,7 +462,6 @@ export class A_Feature<T extends A_TYPES__FeatureAvailableComponents = A_TYPES__
|
|
|
460
462
|
break;
|
|
461
463
|
}
|
|
462
464
|
|
|
463
|
-
this._state = A_TYPES__FeatureState.INTERRUPTED;
|
|
464
465
|
|
|
465
466
|
this.scope.destroy();
|
|
466
467
|
}
|