@azure/arm-networkfunction 2.0.1-alpha.20230303.1 → 2.0.1-alpha.20230419.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.
package/dist/index.js CHANGED
@@ -823,17 +823,24 @@ class NetworkFunctionImpl {
823
823
  }
824
824
  listOperationsPagingAll(options) {
825
825
  return tslib.__asyncGenerator(this, arguments, function* listOperationsPagingAll_1() {
826
- var e_1, _a;
826
+ var _a, e_1, _b, _c;
827
827
  try {
828
- for (var _b = tslib.__asyncValues(this.listOperationsPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
829
- const page = _c.value;
830
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
828
+ for (var _d = true, _e = tslib.__asyncValues(this.listOperationsPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
829
+ _c = _f.value;
830
+ _d = false;
831
+ try {
832
+ const page = _c;
833
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
834
+ }
835
+ finally {
836
+ _d = true;
837
+ }
831
838
  }
832
839
  }
833
840
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
834
841
  finally {
835
842
  try {
836
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
843
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
837
844
  }
838
845
  finally { if (e_1) throw e_1.error; }
839
846
  }
@@ -926,17 +933,24 @@ class AzureTrafficCollectorsBySubscriptionImpl {
926
933
  }
927
934
  listPagingAll(options) {
928
935
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
929
- var e_1, _a;
936
+ var _a, e_1, _b, _c;
930
937
  try {
931
- for (var _b = tslib.__asyncValues(this.listPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
932
- const page = _c.value;
933
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
938
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
939
+ _c = _f.value;
940
+ _d = false;
941
+ try {
942
+ const page = _c;
943
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
944
+ }
945
+ finally {
946
+ _d = true;
947
+ }
934
948
  }
935
949
  }
936
950
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
937
951
  finally {
938
952
  try {
939
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
953
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
940
954
  }
941
955
  finally { if (e_1) throw e_1.error; }
942
956
  }
@@ -1058,17 +1072,24 @@ class AzureTrafficCollectorsByResourceGroupImpl {
1058
1072
  }
1059
1073
  listPagingAll(resourceGroupName, options) {
1060
1074
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1061
- var e_1, _a;
1075
+ var _a, e_1, _b, _c;
1062
1076
  try {
1063
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1064
- const page = _c.value;
1065
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1077
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1078
+ _c = _f.value;
1079
+ _d = false;
1080
+ try {
1081
+ const page = _c;
1082
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1083
+ }
1084
+ finally {
1085
+ _d = true;
1086
+ }
1066
1087
  }
1067
1088
  }
1068
1089
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1069
1090
  finally {
1070
1091
  try {
1071
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1092
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1072
1093
  }
1073
1094
  finally { if (e_1) throw e_1.error; }
1074
1095
  }
@@ -1476,17 +1497,24 @@ class CollectorPoliciesImpl {
1476
1497
  }
1477
1498
  listPagingAll(resourceGroupName, azureTrafficCollectorName, options) {
1478
1499
  return tslib.__asyncGenerator(this, arguments, function* listPagingAll_1() {
1479
- var e_1, _a;
1500
+ var _a, e_1, _b, _c;
1480
1501
  try {
1481
- for (var _b = tslib.__asyncValues(this.listPagingPage(resourceGroupName, azureTrafficCollectorName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1482
- const page = _c.value;
1483
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1502
+ for (var _d = true, _e = tslib.__asyncValues(this.listPagingPage(resourceGroupName, azureTrafficCollectorName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1503
+ _c = _f.value;
1504
+ _d = false;
1505
+ try {
1506
+ const page = _c;
1507
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1508
+ }
1509
+ finally {
1510
+ _d = true;
1511
+ }
1484
1512
  }
1485
1513
  }
1486
1514
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1487
1515
  finally {
1488
1516
  try {
1489
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1517
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1490
1518
  }
1491
1519
  finally { if (e_1) throw e_1.error; }
1492
1520
  }