arrow-resilience-kit 0.11.0 → 0.11.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.
@@ -33,7 +33,7 @@
33
33
  var initMetadataForClass = kotlin_kotlin.$_$.g5;
34
34
  var CoroutineImpl = kotlin_kotlin.$_$.a4;
35
35
  var intercepted = kotlin_kotlin.$_$.n3;
36
- var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.i;
36
+ var CancellableContinuationImpl = kotlin_org_jetbrains_kotlinx_kotlinx_coroutines_core.$_$.k;
37
37
  var set_value = kotlin_io_arrow_kt_arrow_atomic.$_$.c;
38
38
  var returnIfSuspended = kotlin_kotlin.$_$.c1;
39
39
  var get_COROUTINE_SUSPENDED = kotlin_kotlin.$_$.l3;
@@ -60,11 +60,11 @@
60
60
  initMetadataForClass(RetryException, 'RetryException', RetryException, Error);
61
61
  //endregion
62
62
  function atomically(f, $completion) {
63
- return (new STMTransaction()).u15(f, $completion);
63
+ return (new STMTransaction()).f16(f, $completion);
64
64
  }
65
65
  function Companion() {
66
66
  }
67
- protoOf(Companion).v15 = function (a, $completion) {
67
+ protoOf(Companion).g16 = function (a, $completion) {
68
68
  return new TVar(a);
69
69
  };
70
70
  var Companion_instance_0;
@@ -72,36 +72,36 @@
72
72
  return Companion_instance_0;
73
73
  }
74
74
  function TVar(a) {
75
- this.w15_1 = new Atomic(a);
76
- this.x15_1 = Default_getInstance().ib();
77
- this.y15_1 = new Atomic(emptyList());
75
+ this.h16_1 = new Atomic(a);
76
+ this.i16_1 = Default_getInstance().ib();
77
+ this.j16_1 = new Atomic(emptyList());
78
78
  }
79
- protoOf(TVar).z15 = function () {
80
- return get_value(this.w15_1);
79
+ protoOf(TVar).k16 = function () {
80
+ return get_value(this.h16_1);
81
81
  };
82
82
  protoOf(TVar).hashCode = function () {
83
- return this.x15_1.hashCode();
83
+ return this.i16_1.hashCode();
84
84
  };
85
85
  protoOf(TVar).equals = function (other) {
86
86
  return this === other;
87
87
  };
88
- protoOf(TVar).a16 = function () {
88
+ protoOf(TVar).l16 = function () {
89
89
  while (true) {
90
90
  // Inline function 'kotlin.let' call
91
- var a = get_value(this.w15_1);
91
+ var a = get_value(this.h16_1);
92
92
  if (!(a instanceof STMFrame))
93
93
  return a;
94
94
  }
95
95
  };
96
- protoOf(TVar).b16 = function (frame, a) {
97
- this.w15_1.gf(frame, a);
96
+ protoOf(TVar).m16 = function (frame, a) {
97
+ this.h16_1.gf(frame, a);
98
98
  };
99
- protoOf(TVar).c16 = function (frame, expected) {
100
- return this.w15_1.gf(expected, frame);
99
+ protoOf(TVar).n16 = function (frame, expected) {
100
+ return this.h16_1.gf(expected, frame);
101
101
  };
102
- protoOf(TVar).d16 = function (trans, expected) {
103
- if (!(this.z15() === expected)) {
104
- var tmp0_safe_receiver = trans.e16();
102
+ protoOf(TVar).o16 = function (trans, expected) {
103
+ if (!(this.k16() === expected)) {
104
+ var tmp0_safe_receiver = trans.p16();
105
105
  if (tmp0_safe_receiver == null)
106
106
  null;
107
107
  else {
@@ -113,7 +113,7 @@
113
113
  return false;
114
114
  }
115
115
  // Inline function 'arrow.atomic.update' call
116
- var tmp0 = this.y15_1;
116
+ var tmp0 = this.j16_1;
117
117
  $l$block: {
118
118
  // Inline function 'arrow.atomic.update' call
119
119
  // Inline function 'arrow.atomic.loop' call
@@ -128,9 +128,9 @@
128
128
  while (true);
129
129
  }
130
130
  var tmp;
131
- if (!(this.z15() === expected)) {
132
- this.f16(trans);
133
- var tmp1_safe_receiver = trans.e16();
131
+ if (!(this.k16() === expected)) {
132
+ this.q16(trans);
133
+ var tmp1_safe_receiver = trans.p16();
134
134
  if (tmp1_safe_receiver == null)
135
135
  null;
136
136
  else {
@@ -145,9 +145,9 @@
145
145
  }
146
146
  return tmp;
147
147
  };
148
- protoOf(TVar).f16 = function (trans) {
148
+ protoOf(TVar).q16 = function (trans) {
149
149
  // Inline function 'arrow.atomic.update' call
150
- var tmp0 = this.y15_1;
150
+ var tmp0 = this.j16_1;
151
151
  $l$block: {
152
152
  // Inline function 'arrow.atomic.update' call
153
153
  // Inline function 'arrow.atomic.loop' call
@@ -172,12 +172,12 @@
172
172
  while (true);
173
173
  }
174
174
  };
175
- protoOf(TVar).g16 = function () {
175
+ protoOf(TVar).r16 = function () {
176
176
  // Inline function 'kotlin.collections.forEach' call
177
- var _iterator__ex2g4s = this.y15_1.ff(emptyList()).h();
177
+ var _iterator__ex2g4s = this.j16_1.ff(emptyList()).h();
178
178
  while (_iterator__ex2g4s.i()) {
179
179
  var element = _iterator__ex2g4s.j();
180
- var tmp0_safe_receiver = element.e16();
180
+ var tmp0_safe_receiver = element.p16();
181
181
  if (tmp0_safe_receiver == null)
182
182
  null;
183
183
  else {
@@ -190,8 +190,8 @@
190
190
  };
191
191
  function $commitCOROUTINE$(_this__u8e3s4, f, resultContinuation) {
192
192
  CoroutineImpl.call(this, resultContinuation);
193
- this.p16_1 = _this__u8e3s4;
194
- this.q16_1 = f;
193
+ this.a17_1 = _this__u8e3s4;
194
+ this.b17_1 = f;
195
195
  }
196
196
  protoOf($commitCOROUTINE$).x6 = function () {
197
197
  var suspendResult = this.r6_1;
@@ -209,10 +209,10 @@
209
209
  continue $sm;
210
210
  }
211
211
 
212
- this.s16_1 = new STMFrame();
212
+ this.d17_1 = new STMFrame();
213
213
  this.q6_1 = 2;
214
- var res = this.q16_1(this.s16_1);
215
- if (this.s16_1.v16())
214
+ var res = this.b17_1(this.d17_1);
215
+ if (this.d17_1.g17())
216
216
  return res;
217
217
  this.q6_1 = 4;
218
218
  this.p6_1 = 5;
@@ -222,29 +222,29 @@
222
222
  var tmp_0 = this.s6_1;
223
223
  if (tmp_0 instanceof RetryException) {
224
224
  var _unused_var__etf5q3 = this.s6_1;
225
- if (this.s16_1.u16_1.q())
225
+ if (this.d17_1.f17_1.q())
226
226
  throw new BlockedIndefinitely();
227
227
  var tmp_1 = this;
228
- tmp_1.r16_1 = ArrayList_init_$Create$();
228
+ tmp_1.c17_1 = ArrayList_init_$Create$();
229
229
  this.p6_1 = 3;
230
230
  var cancellable = new CancellableContinuationImpl(intercepted(this), 1);
231
- cancellable.vj();
231
+ cancellable.gk();
232
232
  l$ret$1: do {
233
- set_value(this.p16_1.t15_1, cancellable);
234
- var _iterator__ex2g4s = this.s16_1.u16_1.g1().h();
233
+ set_value(this.a17_1.e16_1, cancellable);
234
+ var _iterator__ex2g4s = this.d17_1.f17_1.g1().h();
235
235
  while (_iterator__ex2g4s.i()) {
236
236
  var element = _iterator__ex2g4s.j();
237
237
  var tv = element.b1();
238
238
  var entry = element.c1();
239
- if (tv.d16(this.p16_1, entry.x16_1))
240
- this.r16_1.g(tv);
239
+ if (tv.o16(this.a17_1, entry.i17_1))
240
+ this.c17_1.g(tv);
241
241
  else {
242
242
  break l$ret$1;
243
243
  }
244
244
  }
245
245
  }
246
246
  while (false);
247
- suspendResult = returnIfSuspended(cancellable.fk(), this);
247
+ suspendResult = returnIfSuspended(cancellable.yh(), this);
248
248
  if (suspendResult === get_COROUTINE_SUSPENDED()) {
249
249
  return suspendResult;
250
250
  }
@@ -253,7 +253,7 @@
253
253
  var tmp_2 = this.s6_1;
254
254
  if (tmp_2 instanceof Error) {
255
255
  var e = this.s6_1;
256
- if (this.s16_1.w16())
256
+ if (this.d17_1.h17())
257
257
  throw e;
258
258
  this.p6_1 = 5;
259
259
  continue $sm;
@@ -263,10 +263,10 @@
263
263
  }
264
264
 
265
265
  case 3:
266
- var _iterator__ex2g4s_0 = this.r16_1.h();
266
+ var _iterator__ex2g4s_0 = this.c17_1.h();
267
267
  while (_iterator__ex2g4s_0.i()) {
268
268
  var element_0 = _iterator__ex2g4s_0.j();
269
- element_0.f16(this.p16_1);
269
+ element_0.q16(this.a17_1);
270
270
  }
271
271
 
272
272
  this.p6_1 = 5;
@@ -292,12 +292,12 @@
292
292
  while (true);
293
293
  };
294
294
  function STMTransaction() {
295
- this.t15_1 = new Atomic(null);
295
+ this.e16_1 = new Atomic(null);
296
296
  }
297
- protoOf(STMTransaction).e16 = function () {
298
- return this.t15_1.ff(null);
297
+ protoOf(STMTransaction).p16 = function () {
298
+ return this.e16_1.ff(null);
299
299
  };
300
- protoOf(STMTransaction).u15 = function (f, $completion) {
300
+ protoOf(STMTransaction).f16 = function (f, $completion) {
301
301
  var tmp = new $commitCOROUTINE$(this, f, $completion);
302
302
  tmp.r6_1 = Unit_instance;
303
303
  tmp.s6_1 = null;
@@ -316,24 +316,24 @@
316
316
  return NotPresent_instance;
317
317
  }
318
318
  function Entry(initialVal, newVal) {
319
- this.x16_1 = initialVal;
320
- this.y16_1 = newVal;
319
+ this.i17_1 = initialVal;
320
+ this.j17_1 = newVal;
321
321
  }
322
- protoOf(Entry).z16 = function () {
323
- return !(this.y16_1 === NoChange_instance);
322
+ protoOf(Entry).k17 = function () {
323
+ return !(this.j17_1 === NoChange_instance);
324
324
  };
325
- protoOf(Entry).a17 = function (v) {
326
- this.y16_1 = this.x16_1 === v ? NoChange_instance : v;
325
+ protoOf(Entry).l17 = function (v) {
326
+ this.j17_1 = this.i17_1 === v ? NoChange_instance : v;
327
327
  };
328
- protoOf(Entry).b17 = function () {
329
- return this.z16() ? this.y16_1 : this.x16_1;
328
+ protoOf(Entry).m17 = function () {
329
+ return this.k17() ? this.j17_1 : this.i17_1;
330
330
  };
331
331
  function readVar($this, v) {
332
- var tmp0_safe_receiver = $this.u16_1.e1(v);
333
- var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.b17();
332
+ var tmp0_safe_receiver = $this.f17_1.e1(v);
333
+ var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.m17();
334
334
  var tmp;
335
335
  if (tmp1_elvis_lhs == null) {
336
- var tmp2_safe_receiver = $this.t16_1;
336
+ var tmp2_safe_receiver = $this.e17_1;
337
337
  tmp = tmp2_safe_receiver == null ? null : readVar(tmp2_safe_receiver, v);
338
338
  } else {
339
339
  tmp = tmp1_elvis_lhs;
@@ -343,21 +343,21 @@
343
343
  }
344
344
  function STMFrame(parent) {
345
345
  parent = parent === VOID ? null : parent;
346
- this.t16_1 = parent;
346
+ this.e17_1 = parent;
347
347
  var tmp = this;
348
348
  // Inline function 'kotlin.collections.mutableMapOf' call
349
- tmp.u16_1 = LinkedHashMap_init_$Create$();
349
+ tmp.f17_1 = LinkedHashMap_init_$Create$();
350
350
  }
351
- protoOf(STMFrame).c17 = function () {
351
+ protoOf(STMFrame).n17 = function () {
352
352
  throw new RetryException();
353
353
  };
354
- protoOf(STMFrame).d17 = function (_this__u8e3s4) {
354
+ protoOf(STMFrame).o17 = function (_this__u8e3s4) {
355
355
  var r = readVar(this, _this__u8e3s4 instanceof TVar ? _this__u8e3s4 : THROW_CCE());
356
356
  var tmp;
357
357
  if (equals(r, NotPresent_instance)) {
358
358
  // Inline function 'kotlin.also' call
359
- var this_0 = _this__u8e3s4.a16();
360
- var tmp0 = this.u16_1;
359
+ var this_0 = _this__u8e3s4.l16();
360
+ var tmp0 = this.f17_1;
361
361
  // Inline function 'kotlin.collections.set' call
362
362
  var value = new Entry(this_0, NoChange_instance);
363
363
  tmp0.b3(_this__u8e3s4, value);
@@ -367,28 +367,28 @@
367
367
  }
368
368
  return tmp;
369
369
  };
370
- protoOf(STMFrame).e17 = function (_this__u8e3s4, a) {
370
+ protoOf(STMFrame).p17 = function (_this__u8e3s4, a) {
371
371
  if (!(_this__u8e3s4 instanceof TVar))
372
372
  THROW_CCE();
373
- var tmp0_safe_receiver = this.u16_1.e1(_this__u8e3s4);
373
+ var tmp0_safe_receiver = this.f17_1.e1(_this__u8e3s4);
374
374
  var tmp;
375
375
  if (tmp0_safe_receiver == null) {
376
376
  tmp = null;
377
377
  } else {
378
- tmp0_safe_receiver.a17(a);
378
+ tmp0_safe_receiver.l17(a);
379
379
  tmp = Unit_instance;
380
380
  }
381
381
  if (tmp == null) {
382
382
  // Inline function 'kotlin.let' call
383
- var it = _this__u8e3s4.a16();
384
- var tmp0 = this.u16_1;
383
+ var it = _this__u8e3s4.l16();
384
+ var tmp0 = this.f17_1;
385
385
  // Inline function 'kotlin.collections.set' call
386
386
  var value = new Entry(it, a);
387
387
  tmp0.b3(_this__u8e3s4, value);
388
388
  }
389
389
  };
390
- protoOf(STMFrame).w16 = function () {
391
- var tmp0 = this.u16_1;
390
+ protoOf(STMFrame).h17 = function () {
391
+ var tmp0 = this.f17_1;
392
392
  var tmp$ret$0;
393
393
  $l$block_0: {
394
394
  // Inline function 'kotlin.collections.all' call
@@ -404,7 +404,7 @@
404
404
  var tv = element.b1();
405
405
  // Inline function 'kotlin.collections.component2' call
406
406
  var entry = element.c1();
407
- if (!(tv.z15() === entry.x16_1)) {
407
+ if (!(tv.k16() === entry.i17_1)) {
408
408
  tmp$ret$0 = false;
409
409
  break $l$block_0;
410
410
  }
@@ -413,8 +413,8 @@
413
413
  }
414
414
  return tmp$ret$0;
415
415
  };
416
- protoOf(STMFrame).v16 = function () {
417
- if (this.u16_1.q())
416
+ protoOf(STMFrame).g17 = function () {
417
+ if (this.f17_1.q())
418
418
  return true;
419
419
  // Inline function 'kotlin.collections.mutableListOf' call
420
420
  var locked = ArrayList_init_$Create$();
@@ -422,32 +422,32 @@
422
422
  var reads = ArrayList_init_$Create$();
423
423
  // Inline function 'kotlin.collections.forEach' call
424
424
  // Inline function 'kotlin.collections.iterator' call
425
- var _iterator__ex2g4s = this.u16_1.g1().h();
425
+ var _iterator__ex2g4s = this.f17_1.g1().h();
426
426
  while (_iterator__ex2g4s.i()) {
427
427
  var element = _iterator__ex2g4s.j();
428
428
  // Inline function 'kotlin.collections.component1' call
429
429
  var tv = element.b1();
430
430
  // Inline function 'kotlin.collections.component2' call
431
431
  var entry = element.c1();
432
- if (entry.z16()) {
433
- if (tv.c16(this, entry.x16_1)) {
432
+ if (entry.k17()) {
433
+ if (tv.n16(this, entry.i17_1)) {
434
434
  locked.g(element);
435
435
  } else {
436
436
  // Inline function 'kotlin.collections.forEach' call
437
437
  var _iterator__ex2g4s_0 = locked.h();
438
438
  while (_iterator__ex2g4s_0.i()) {
439
439
  var element_0 = _iterator__ex2g4s_0.j();
440
- element_0.b1().b16(this, element_0.c1().x16_1);
440
+ element_0.b1().m16(this, element_0.c1().i17_1);
441
441
  }
442
442
  return false;
443
443
  }
444
444
  } else {
445
- if (!(tv.z15() === entry.x16_1)) {
445
+ if (!(tv.k16() === entry.i17_1)) {
446
446
  // Inline function 'kotlin.collections.forEach' call
447
447
  var _iterator__ex2g4s_1 = locked.h();
448
448
  while (_iterator__ex2g4s_1.i()) {
449
449
  var element_1 = _iterator__ex2g4s_1.j();
450
- element_1.b1().b16(this, element_1.c1().x16_1);
450
+ element_1.b1().m16(this, element_1.c1().i17_1);
451
451
  }
452
452
  return false;
453
453
  } else {
@@ -475,7 +475,7 @@
475
475
  var tv_0 = element_2.b1();
476
476
  // Inline function 'kotlin.collections.component2' call
477
477
  var entry_0 = element_2.c1();
478
- if (!(tv_0.z15() === entry_0.x16_1)) {
478
+ if (!(tv_0.k16() === entry_0.i17_1)) {
479
479
  tmp$ret$11 = true;
480
480
  break $l$block_0;
481
481
  }
@@ -487,7 +487,7 @@
487
487
  var _iterator__ex2g4s_3 = locked.h();
488
488
  while (_iterator__ex2g4s_3.i()) {
489
489
  var element_3 = _iterator__ex2g4s_3.j();
490
- element_3.b1().b16(this, element_3.c1().x16_1);
490
+ element_3.b1().m16(this, element_3.c1().i17_1);
491
491
  }
492
492
  return false;
493
493
  }
@@ -495,13 +495,13 @@
495
495
  var _iterator__ex2g4s_4 = locked.h();
496
496
  while (_iterator__ex2g4s_4.i()) {
497
497
  var element_4 = _iterator__ex2g4s_4.j();
498
- element_4.b1().b16(this, element_4.c1().y16_1);
498
+ element_4.b1().m16(this, element_4.c1().j17_1);
499
499
  }
500
500
  // Inline function 'kotlin.collections.forEach' call
501
501
  var _iterator__ex2g4s_5 = locked.h();
502
502
  while (_iterator__ex2g4s_5.i()) {
503
503
  var element_5 = _iterator__ex2g4s_5.j();
504
- element_5.b1().g16();
504
+ element_5.b1().r16();
505
505
  }
506
506
  return true;
507
507
  };