@devvit/multiplatform
Advanced tools
Comparing version 0.0.1-20241010-70942faa to 0.0.1-20241011-e1b1206c
@@ -451,6 +451,6 @@ import { | ||
} | ||
function DispatcherImpl$processBatch$lambda(this$0, $mode, $isRemote, $processRequestSpan, $batch, $requestId, $intendedGeneration, $request) { | ||
return function (rsp) { | ||
function DispatcherImpl$processBatch$lambda$lambda(this$0, $mode, $isRemote, $rsp, $processRequestSpan, $batch, $requestId, $intendedGeneration, $request) { | ||
return function () { | ||
this$0.t7_1.a7(['Signpost: Response success for ' + getRuntimeLogString(this$0, $mode, $isRemote) + ' request']); | ||
verboseLog(this$0, rsp); | ||
verboseLog(this$0, $rsp); | ||
$processRequestSpan.u8(); | ||
@@ -468,15 +468,15 @@ logRuntimeTrace(this$0.s7_1.performanceAnalyticsDelegate, $processRequestSpan, $isRemote, '', $batch.q()); | ||
var element = tmp0_iterator.o(); | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>' call | ||
element(new SubscribeCallbackParams($request, rsp, $mode)); | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>.<anonymous>' call | ||
element(new SubscribeCallbackParams($request, $rsp, $mode)); | ||
} | ||
var tmp_0; | ||
if ($mode.equals(Mode_SYNC_getInstance())) { | ||
this$0.state = this$0.q7_1.merge(this$0.state, rsp.state); | ||
this$0.state = this$0.q7_1.merge(this$0.state, $rsp.state); | ||
this$0.a8_1 = false; | ||
tmp_0 = Unit_instance; | ||
} else if ($mode.equals(Mode_SPEC_getInstance())) { | ||
this$0.h8_1 = this$0.q7_1.merge(this$0.h8_1, rsp.state); | ||
this$0.h8_1 = this$0.q7_1.merge(this$0.h8_1, $rsp.state); | ||
tmp_0 = Unit_instance; | ||
} | ||
this$0.v8(toList(rsp.replay), $mode); | ||
this$0.v8(toList($rsp.replay), $mode); | ||
var tmp_1; | ||
@@ -491,9 +491,15 @@ if ($mode.equals(Mode_SYNC_getInstance()) ? this$0.j8_1 : false) { | ||
} | ||
function DispatcherImpl$processBatch$lambda_0(this$0, $mode, $isRemote, $processRequestSpan, $batch, $requestId) { | ||
return function (err) { | ||
this$0.t7_1.a7(['Signpost: Response error for ' + getRuntimeLogString(this$0, $mode, $isRemote) + ' request', err]); | ||
function DispatcherImpl$processBatch$lambda(this$0, $mode, $isRemote, $processRequestSpan, $batch, $requestId, $intendedGeneration, $request) { | ||
return function (rsp) { | ||
attemptAndCatch(this$0, Unit_instance, DispatcherImpl$processBatch$lambda$lambda(this$0, $mode, $isRemote, rsp, $processRequestSpan, $batch, $requestId, $intendedGeneration, $request)); | ||
return Unit_instance; | ||
}; | ||
} | ||
function DispatcherImpl$processBatch$lambda$lambda_0(this$0, $mode, $isRemote, $err, $processRequestSpan, $batch, $requestId) { | ||
return function () { | ||
this$0.t7_1.a7(['Signpost: Response error for ' + getRuntimeLogString(this$0, $mode, $isRemote) + ' request', $err]); | ||
$processRequestSpan.u8(); | ||
logRuntimeTrace(this$0.s7_1.performanceAnalyticsDelegate, $processRequestSpan, $isRemote, '', $batch.q()); | ||
var tmp = this$0.s7_1.performanceAnalyticsDelegate; | ||
var tmp0_elvis_lhs = err.message; | ||
var tmp0_elvis_lhs = $err.message; | ||
logRuntimeError(tmp, tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs, $isRemote, ''); | ||
@@ -519,3 +525,3 @@ this$0.b8_1.j1($requestId); | ||
var element = tmp0_iterator.o(); | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>' call | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>.<anonymous>' call | ||
var key = !element.scope.equals(EventScope_REMOTE_getInstance()) ? !(element.retry === true) : false; | ||
@@ -546,4 +552,4 @@ // Inline function 'kotlin.collections.getOrPut' call | ||
var events = copyToArray(this_2); | ||
this$0.t7_1.a7(arrayConcat([['unretryable events', err], events])); | ||
tmp_3 = this$0.s7_1.errorHandler(err); | ||
this$0.t7_1.a7(arrayConcat([['unretryable events', $err], events])); | ||
tmp_3 = this$0.s7_1.errorHandler($err); | ||
} | ||
@@ -563,3 +569,3 @@ var tmp_4; | ||
var element_0 = tmp0_iterator_0.o(); | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>' call | ||
// Inline function 'net.devvit.DispatcherImpl.processBatch.<anonymous>.<anonymous>.<anonymous>' call | ||
element_0.retry = true; | ||
@@ -580,2 +586,8 @@ element_0.scope = EventScope_REMOTE_getInstance(); | ||
} | ||
function DispatcherImpl$processBatch$lambda_0(this$0, $mode, $isRemote, $processRequestSpan, $batch, $requestId) { | ||
return function (err) { | ||
attemptAndCatch(this$0, Unit_instance, DispatcherImpl$processBatch$lambda$lambda_0(this$0, $mode, $isRemote, err, $processRequestSpan, $batch, $requestId)); | ||
return Unit_instance; | ||
}; | ||
} | ||
function DispatcherImpl$submit$lambda(this$0, $events) { | ||
@@ -582,0 +594,0 @@ return function () { |
{ | ||
"name": "@devvit/multiplatform", | ||
"version": "0.0.1-20241010-70942faa", | ||
"version": "0.0.1-20241011-e1b1206c", | ||
"main": "kotlin/ui-shared-shared.mjs", | ||
@@ -5,0 +5,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
296175
5602