@azure/arm-trafficmanager 6.1.0-alpha.20230303.1 → 6.1.0-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
@@ -1313,17 +1313,24 @@ class ProfilesImpl {
1313
1313
  }
1314
1314
  listByResourceGroupPagingAll(resourceGroupName, options) {
1315
1315
  return tslib.__asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
1316
- var e_1, _a;
1316
+ var _a, e_1, _b, _c;
1317
1317
  try {
1318
- for (var _b = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1319
- const page = _c.value;
1320
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1318
+ for (var _d = true, _e = tslib.__asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1319
+ _c = _f.value;
1320
+ _d = false;
1321
+ try {
1322
+ const page = _c;
1323
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1324
+ }
1325
+ finally {
1326
+ _d = true;
1327
+ }
1321
1328
  }
1322
1329
  }
1323
1330
  catch (e_1_1) { e_1 = { error: e_1_1 }; }
1324
1331
  finally {
1325
1332
  try {
1326
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1333
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1327
1334
  }
1328
1335
  finally { if (e_1) throw e_1.error; }
1329
1336
  }
@@ -1359,17 +1366,24 @@ class ProfilesImpl {
1359
1366
  }
1360
1367
  listBySubscriptionPagingAll(options) {
1361
1368
  return tslib.__asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
1362
- var e_2, _a;
1369
+ var _a, e_2, _b, _c;
1363
1370
  try {
1364
- for (var _b = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield tslib.__await(_b.next()), !_c.done;) {
1365
- const page = _c.value;
1366
- yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1371
+ for (var _d = true, _e = tslib.__asyncValues(this.listBySubscriptionPagingPage(options)), _f; _f = yield tslib.__await(_e.next()), _a = _f.done, !_a;) {
1372
+ _c = _f.value;
1373
+ _d = false;
1374
+ try {
1375
+ const page = _c;
1376
+ yield tslib.__await(yield* tslib.__asyncDelegator(tslib.__asyncValues(page)));
1377
+ }
1378
+ finally {
1379
+ _d = true;
1380
+ }
1367
1381
  }
1368
1382
  }
1369
1383
  catch (e_2_1) { e_2 = { error: e_2_1 }; }
1370
1384
  finally {
1371
1385
  try {
1372
- if (_c && !_c.done && (_a = _b.return)) yield tslib.__await(_a.call(_b));
1386
+ if (!_d && !_a && (_b = _e.return)) yield tslib.__await(_b.call(_e));
1373
1387
  }
1374
1388
  finally { if (e_2) throw e_2.error; }
1375
1389
  }