arrow-resilience-kit 0.8.0 → 0.8.2
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.
|
@@ -217,13 +217,13 @@
|
|
|
217
217
|
initMetadataForCoroutine($doSelectSuspendCOROUTINE$, CoroutineImpl);
|
|
218
218
|
initMetadataForCoroutine($completeCOROUTINE$, CoroutineImpl);
|
|
219
219
|
initMetadataForCoroutine($processResultAndInvokeBlockRecoveringExceptionCOROUTINE$, CoroutineImpl);
|
|
220
|
-
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler,
|
|
220
|
+
initMetadataForClass(SelectImplementation, 'SelectImplementation', VOID, VOID, [CancelHandler, Waiter, SelectInstance], [0, 2]);
|
|
221
221
|
initMetadataForClass(SemaphoreAndMutexImpl, 'SemaphoreAndMutexImpl', VOID, VOID, VOID, [0]);
|
|
222
222
|
initMetadataForClass(SemaphoreImpl, 'SemaphoreImpl', VOID, SemaphoreAndMutexImpl, VOID, [0]);
|
|
223
223
|
initMetadataForClass(SemaphoreSegment, 'SemaphoreSegment', VOID, Segment);
|
|
224
224
|
initMetadataForClass(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', VOID, CoroutineDispatcher, [Delay], [1]);
|
|
225
225
|
initMetadataForObject(NodeDispatcher, 'NodeDispatcher', VOID, SetTimeoutBasedDispatcher, VOID, [1]);
|
|
226
|
-
initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [
|
|
226
|
+
initMetadataForClass(MessageQueue, 'MessageQueue', VOID, VOID, [Collection, MutableIterable, KtList]);
|
|
227
227
|
initMetadataForClass(ScheduledMessageQueue, 'ScheduledMessageQueue', VOID, MessageQueue);
|
|
228
228
|
initMetadataForClass(WindowMessageQueue, 'WindowMessageQueue', VOID, MessageQueue);
|
|
229
229
|
initMetadataForObject(Dispatchers, 'Dispatchers');
|
|
@@ -322,7 +322,7 @@
|
|
|
322
322
|
this.continuation_1 = createCoroutineUnintercepted(block, this, this);
|
|
323
323
|
}
|
|
324
324
|
protoOf(LazyStandaloneCoroutine).onStart_qsx7gt_k$ = function () {
|
|
325
|
-
|
|
325
|
+
startCoroutineCancellable_0(this.continuation_1, this);
|
|
326
326
|
};
|
|
327
327
|
function DeferredCoroutine(parentContext, active) {
|
|
328
328
|
AbstractCoroutine.call(this, parentContext, true, active);
|
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
this.continuation_1 = createCoroutineUnintercepted(block, this, this);
|
|
340
340
|
}
|
|
341
341
|
protoOf(LazyDeferredCoroutine).onStart_qsx7gt_k$ = function () {
|
|
342
|
-
|
|
342
|
+
startCoroutineCancellable_0(this.continuation_1, this);
|
|
343
343
|
};
|
|
344
344
|
function CancellableContinuation() {
|
|
345
345
|
}
|
|
@@ -1251,7 +1251,7 @@
|
|
|
1251
1251
|
var tmp;
|
|
1252
1252
|
switch (this.ordinal_1) {
|
|
1253
1253
|
case 0:
|
|
1254
|
-
|
|
1254
|
+
startCoroutineCancellable(block, receiver, completion);
|
|
1255
1255
|
tmp = Unit_instance;
|
|
1256
1256
|
break;
|
|
1257
1257
|
case 2:
|
|
@@ -3873,34 +3873,34 @@
|
|
|
3873
3873
|
}
|
|
3874
3874
|
return parsed;
|
|
3875
3875
|
}
|
|
3876
|
-
function startCoroutineCancellable(_this__u8e3s4,
|
|
3876
|
+
function startCoroutineCancellable(_this__u8e3s4, receiver, completion) {
|
|
3877
3877
|
// Inline function 'kotlinx.coroutines.intrinsics.runSafely' call
|
|
3878
3878
|
try {
|
|
3879
|
-
var tmp = intercepted(_this__u8e3s4);
|
|
3879
|
+
var tmp = intercepted(createCoroutineUnintercepted(_this__u8e3s4, receiver, completion));
|
|
3880
3880
|
// Inline function 'kotlin.Companion.success' call
|
|
3881
3881
|
var tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
3882
3882
|
resumeCancellableWithInternal(tmp, tmp$ret$2);
|
|
3883
3883
|
} catch ($p) {
|
|
3884
3884
|
if ($p instanceof Error) {
|
|
3885
3885
|
var e = $p;
|
|
3886
|
-
dispatcherFailure(
|
|
3886
|
+
dispatcherFailure(completion, e);
|
|
3887
3887
|
} else {
|
|
3888
3888
|
throw $p;
|
|
3889
3889
|
}
|
|
3890
3890
|
}
|
|
3891
3891
|
return Unit_instance;
|
|
3892
3892
|
}
|
|
3893
|
-
function startCoroutineCancellable_0(_this__u8e3s4,
|
|
3893
|
+
function startCoroutineCancellable_0(_this__u8e3s4, fatalCompletion) {
|
|
3894
3894
|
// Inline function 'kotlinx.coroutines.intrinsics.runSafely' call
|
|
3895
3895
|
try {
|
|
3896
|
-
var tmp = intercepted(
|
|
3896
|
+
var tmp = intercepted(_this__u8e3s4);
|
|
3897
3897
|
// Inline function 'kotlin.Companion.success' call
|
|
3898
3898
|
var tmp$ret$2 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
3899
3899
|
resumeCancellableWithInternal(tmp, tmp$ret$2);
|
|
3900
3900
|
} catch ($p) {
|
|
3901
3901
|
if ($p instanceof Error) {
|
|
3902
3902
|
var e = $p;
|
|
3903
|
-
dispatcherFailure(
|
|
3903
|
+
dispatcherFailure(fatalCompletion, e);
|
|
3904
3904
|
} else {
|
|
3905
3905
|
throw $p;
|
|
3906
3906
|
}
|
|
@@ -4347,7 +4347,7 @@
|
|
|
4347
4347
|
this.disposableHandleOrSegment_1 = null;
|
|
4348
4348
|
this.indexInSegment_1 = -1;
|
|
4349
4349
|
}
|
|
4350
|
-
protoOf(ClauseData).
|
|
4350
|
+
protoOf(ClauseData).tryRegisterAsWaiter_kpp8yw_k$ = function (select) {
|
|
4351
4351
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4352
4352
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
4353
4353
|
this.regFunc_1(this.clauseObject_1, select, this.param_1);
|
|
@@ -4611,7 +4611,7 @@
|
|
|
4611
4611
|
return tmp.doResume_5yljmg_k$();
|
|
4612
4612
|
};
|
|
4613
4613
|
protoOf(SelectImplementation).invoke_je9fsb_k$ = function (_this__u8e3s4, block) {
|
|
4614
|
-
return this.register$
|
|
4614
|
+
return this.register$default_acgh9r_k$(new ClauseData(this, _this__u8e3s4.get_clauseObject_ilo9nb_k$(), _this__u8e3s4.get_regFunc_j7ktjj_k$(), _this__u8e3s4.get_processResFunc_ky2xuq_k$(), null, block, _this__u8e3s4.get_onCancellationConstructor_4kgej5_k$()));
|
|
4615
4615
|
};
|
|
4616
4616
|
protoOf(SelectImplementation).register_4szh8u_k$ = function (_this__u8e3s4, reregister) {
|
|
4617
4617
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -4621,7 +4621,7 @@
|
|
|
4621
4621
|
if (!reregister) {
|
|
4622
4622
|
checkClauseObject(this, _this__u8e3s4.clauseObject_1);
|
|
4623
4623
|
}
|
|
4624
|
-
if (_this__u8e3s4.
|
|
4624
|
+
if (_this__u8e3s4.tryRegisterAsWaiter_kpp8yw_k$(this)) {
|
|
4625
4625
|
if (!reregister) {
|
|
4626
4626
|
// Inline function 'kotlin.collections.plusAssign' call
|
|
4627
4627
|
ensureNotNull(this.clauses_1).add_utx5q5_k$(_this__u8e3s4);
|
|
@@ -4634,7 +4634,7 @@
|
|
|
4634
4634
|
this.state_1.kotlinx$atomicfu$value = _this__u8e3s4;
|
|
4635
4635
|
}
|
|
4636
4636
|
};
|
|
4637
|
-
protoOf(SelectImplementation).register$
|
|
4637
|
+
protoOf(SelectImplementation).register$default_acgh9r_k$ = function (_this__u8e3s4, reregister, $super) {
|
|
4638
4638
|
reregister = reregister === VOID ? false : reregister;
|
|
4639
4639
|
var tmp;
|
|
4640
4640
|
if ($super === VOID) {
|