@attocash/commons-js 5.2.1 → 5.3.0
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/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/DateTimeComponents.mjs +2 -2
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +1 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +7 -0
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.js.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.js.mjs +6 -6
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +7 -0
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.d.ts +7 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs +12 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.export.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +92 -0
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs +274 -272
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClient.mjs.map +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeOperationsImpl.js.mjs +74 -74
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorker.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +50 -50
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.js.mjs +28 -28
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +35 -35
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +1 -1
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOCommon.mjs +2 -2
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngine.mjs +47 -47
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/CIOEngineConfig.mjs +11 -11
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionFactory.mjs +21 -21
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/ConnectionPipeline.nonJvm.mjs +3 -3
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/Endpoint.mjs +192 -192
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/EngineTasks.mjs +8 -8
- package/ktor-ktor-client-cio/io/ktor/client/engine/cio/utils.mjs +187 -187
- package/ktor-ktor-network/io/ktor/network/sockets/Builders.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/SocketAddress.nonJvm.mjs +9 -9
- package/ktor-ktor-network/io/ktor/network/sockets/SocketBase.mjs +39 -39
- package/ktor-ktor-network/io/ktor/network/sockets/SocketContext.mjs +87 -87
- package/ktor-ktor-network/io/ktor/network/sockets/SocketEngine.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-network/io/ktor/network/sockets/SocketOptions.mjs +23 -23
- package/ktor-ktor-network/io/ktor/network/sockets/SocketTimeoutException.mjs +4 -4
- package/ktor-ktor-network/io/ktor/network/sockets/Sockets.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TcpSocketBuilder.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/TypeOfService.mjs +5 -5
- package/ktor-ktor-network/io/ktor/network/sockets/nodejs/node.net.mjs +7 -7
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSCommon.mjs +9 -9
- package/ktor-ktor-network-tls/io/ktor/network/tls/TLSConfigBuilder.nonJvm.mjs +1 -1
- package/package.json +1 -1
|
@@ -50,7 +50,7 @@ function Companion() {
|
|
|
50
50
|
// Inline function 'kotlin.arrayOf' call
|
|
51
51
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
52
52
|
// Inline function 'kotlin.js.asDynamic' call
|
|
53
|
-
tmp.
|
|
53
|
+
tmp.f7t_1 = [lazy(tmp_0, AttoWorkerOperations$Request$Companion$$childSerializers$_anonymous__k0cb7d), null, null];
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
56
|
initMetadataForCompanion($);
|
|
@@ -74,22 +74,22 @@ function $serializer() {
|
|
|
74
74
|
tmp0_serialDesc.w14('network', false);
|
|
75
75
|
tmp0_serialDesc.w14('timestamp', false);
|
|
76
76
|
tmp0_serialDesc.w14('target', false);
|
|
77
|
-
this.
|
|
77
|
+
this.g7t_1 = tmp0_serialDesc;
|
|
78
78
|
}
|
|
79
|
-
|
|
80
|
-
var tmp0_desc = this.
|
|
79
|
+
h7t(encoder, value) {
|
|
80
|
+
var tmp0_desc = this.g7t_1;
|
|
81
81
|
var tmp1_output = encoder.kx(tmp0_desc);
|
|
82
|
-
var tmp2_cached = Companion_getInstance().
|
|
83
|
-
tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.
|
|
84
|
-
tmp1_output.bz(tmp0_desc, 1, InstantMillisSerializer_getInstance(), value.
|
|
85
|
-
tmp1_output.zy(tmp0_desc, 2, value.
|
|
82
|
+
var tmp2_cached = Companion_getInstance().f7t_1;
|
|
83
|
+
tmp1_output.bz(tmp0_desc, 0, tmp2_cached[0].s1(), value.i7t_1);
|
|
84
|
+
tmp1_output.bz(tmp0_desc, 1, InstantMillisSerializer_getInstance(), value.j7t_1);
|
|
85
|
+
tmp1_output.zy(tmp0_desc, 2, value.k7t_1);
|
|
86
86
|
tmp1_output.lx(tmp0_desc);
|
|
87
87
|
}
|
|
88
88
|
ys(encoder, value) {
|
|
89
|
-
return this.
|
|
89
|
+
return this.h7t(encoder, value instanceof Request() ? value : THROW_CCE());
|
|
90
90
|
}
|
|
91
91
|
zs(decoder) {
|
|
92
|
-
var tmp0_desc = this.
|
|
92
|
+
var tmp0_desc = this.g7t_1;
|
|
93
93
|
var tmp1_flag = true;
|
|
94
94
|
var tmp2_index = 0;
|
|
95
95
|
var tmp3_bitMask0 = 0;
|
|
@@ -97,7 +97,7 @@ function $serializer() {
|
|
|
97
97
|
var tmp5_local1 = null;
|
|
98
98
|
var tmp6_local2 = null;
|
|
99
99
|
var tmp7_input = decoder.kx(tmp0_desc);
|
|
100
|
-
var tmp8_cached = Companion_getInstance().
|
|
100
|
+
var tmp8_cached = Companion_getInstance().f7t_1;
|
|
101
101
|
if (tmp7_input.zx()) {
|
|
102
102
|
tmp4_local0 = tmp7_input.wx(tmp0_desc, 0, tmp8_cached[0].s1(), tmp4_local0);
|
|
103
103
|
tmp3_bitMask0 = tmp3_bitMask0 | 1;
|
|
@@ -129,16 +129,16 @@ function $serializer() {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
tmp7_input.lx(tmp0_desc);
|
|
132
|
-
return Request().
|
|
132
|
+
return Request().l7t(tmp3_bitMask0, tmp4_local0, tmp5_local1, tmp6_local2, null);
|
|
133
133
|
}
|
|
134
134
|
xs() {
|
|
135
|
-
return this.
|
|
135
|
+
return this.g7t_1;
|
|
136
136
|
}
|
|
137
137
|
l15() {
|
|
138
138
|
// Inline function 'kotlin.arrayOf' call
|
|
139
139
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
140
140
|
// Inline function 'kotlin.js.asDynamic' call
|
|
141
|
-
return [Companion_getInstance().
|
|
141
|
+
return [Companion_getInstance().f7t_1[0].s1(), InstantMillisSerializer_getInstance(), StringSerializer_getInstance()];
|
|
142
142
|
}
|
|
143
143
|
}
|
|
144
144
|
protoOf($).m15 = typeParametersSerializers;
|
|
@@ -174,19 +174,19 @@ function $serializer_0() {
|
|
|
174
174
|
$serializer_instance_0 = this;
|
|
175
175
|
var tmp0_serialDesc = new (PluginGeneratedSerialDescriptor())('cash.atto.commons.worker.AttoWorkerOperations.Response', this, 1);
|
|
176
176
|
tmp0_serialDesc.w14('work', false);
|
|
177
|
-
this.
|
|
177
|
+
this.m7t_1 = tmp0_serialDesc;
|
|
178
178
|
}
|
|
179
|
-
|
|
180
|
-
var tmp0_desc = this.
|
|
179
|
+
n7t(encoder, value) {
|
|
180
|
+
var tmp0_desc = this.m7t_1;
|
|
181
181
|
var tmp1_output = encoder.kx(tmp0_desc);
|
|
182
|
-
tmp1_output.bz(tmp0_desc, 0, AttoWorkSerializer_getInstance(), value.
|
|
182
|
+
tmp1_output.bz(tmp0_desc, 0, AttoWorkSerializer_getInstance(), value.o7t_1);
|
|
183
183
|
tmp1_output.lx(tmp0_desc);
|
|
184
184
|
}
|
|
185
185
|
ys(encoder, value) {
|
|
186
|
-
return this.
|
|
186
|
+
return this.n7t(encoder, value instanceof Response() ? value : THROW_CCE());
|
|
187
187
|
}
|
|
188
188
|
zs(decoder) {
|
|
189
|
-
var tmp0_desc = this.
|
|
189
|
+
var tmp0_desc = this.m7t_1;
|
|
190
190
|
var tmp1_flag = true;
|
|
191
191
|
var tmp2_index = 0;
|
|
192
192
|
var tmp3_bitMask0 = 0;
|
|
@@ -211,10 +211,10 @@ function $serializer_0() {
|
|
|
211
211
|
}
|
|
212
212
|
}
|
|
213
213
|
tmp5_input.lx(tmp0_desc);
|
|
214
|
-
return Response().
|
|
214
|
+
return Response().p7t(tmp3_bitMask0, tmp4_local0, null);
|
|
215
215
|
}
|
|
216
216
|
xs() {
|
|
217
|
-
return this.
|
|
217
|
+
return this.m7t_1;
|
|
218
218
|
}
|
|
219
219
|
l15() {
|
|
220
220
|
// Inline function 'kotlin.arrayOf' call
|
|
@@ -241,17 +241,17 @@ function Request() {
|
|
|
241
241
|
class $ {
|
|
242
242
|
constructor(network, timestamp, target) {
|
|
243
243
|
Companion_getInstance();
|
|
244
|
-
this.
|
|
245
|
-
this.
|
|
246
|
-
this.
|
|
244
|
+
this.i7t_1 = network;
|
|
245
|
+
this.j7t_1 = timestamp;
|
|
246
|
+
this.k7t_1 = target;
|
|
247
247
|
}
|
|
248
248
|
toString() {
|
|
249
|
-
return 'Request(network=' + this.
|
|
249
|
+
return 'Request(network=' + this.i7t_1.toString() + ', timestamp=' + this.j7t_1.toString() + ', target=' + this.k7t_1 + ')';
|
|
250
250
|
}
|
|
251
251
|
hashCode() {
|
|
252
|
-
var result = this.
|
|
253
|
-
result = imul(result, 31) + this.
|
|
254
|
-
result = imul(result, 31) + getStringHashCode(this.
|
|
252
|
+
var result = this.i7t_1.hashCode();
|
|
253
|
+
result = imul(result, 31) + this.j7t_1.hashCode() | 0;
|
|
254
|
+
result = imul(result, 31) + getStringHashCode(this.k7t_1) | 0;
|
|
255
255
|
return result;
|
|
256
256
|
}
|
|
257
257
|
equals(other) {
|
|
@@ -260,23 +260,23 @@ function Request() {
|
|
|
260
260
|
if (!(other instanceof Request()))
|
|
261
261
|
return false;
|
|
262
262
|
var tmp0_other_with_cast = other instanceof Request() ? other : THROW_CCE();
|
|
263
|
-
if (!this.h7t_1.equals(tmp0_other_with_cast.h7t_1))
|
|
264
|
-
return false;
|
|
265
263
|
if (!this.i7t_1.equals(tmp0_other_with_cast.i7t_1))
|
|
266
264
|
return false;
|
|
267
|
-
if (!
|
|
265
|
+
if (!this.j7t_1.equals(tmp0_other_with_cast.j7t_1))
|
|
266
|
+
return false;
|
|
267
|
+
if (!(this.k7t_1 === tmp0_other_with_cast.k7t_1))
|
|
268
268
|
return false;
|
|
269
269
|
return true;
|
|
270
270
|
}
|
|
271
|
-
static
|
|
271
|
+
static l7t(seen0, network, timestamp, target, serializationConstructorMarker) {
|
|
272
272
|
Companion_getInstance();
|
|
273
273
|
if (!(7 === (7 & seen0))) {
|
|
274
|
-
throwMissingFieldException(seen0, 7, $serializer_getInstance().
|
|
274
|
+
throwMissingFieldException(seen0, 7, $serializer_getInstance().g7t_1);
|
|
275
275
|
}
|
|
276
276
|
var $this = createThis(this);
|
|
277
|
-
$this.
|
|
278
|
-
$this.
|
|
279
|
-
$this.
|
|
277
|
+
$this.i7t_1 = network;
|
|
278
|
+
$this.j7t_1 = timestamp;
|
|
279
|
+
$this.k7t_1 = target;
|
|
280
280
|
return $this;
|
|
281
281
|
}
|
|
282
282
|
}
|
|
@@ -290,10 +290,10 @@ function Response() {
|
|
|
290
290
|
if (ResponseClass === VOID) {
|
|
291
291
|
class $ {
|
|
292
292
|
toString() {
|
|
293
|
-
return 'Response(work=' + this.
|
|
293
|
+
return 'Response(work=' + this.o7t_1.toString() + ')';
|
|
294
294
|
}
|
|
295
295
|
hashCode() {
|
|
296
|
-
return this.
|
|
296
|
+
return this.o7t_1.hashCode();
|
|
297
297
|
}
|
|
298
298
|
equals(other) {
|
|
299
299
|
if (this === other)
|
|
@@ -301,16 +301,16 @@ function Response() {
|
|
|
301
301
|
if (!(other instanceof Response()))
|
|
302
302
|
return false;
|
|
303
303
|
var tmp0_other_with_cast = other instanceof Response() ? other : THROW_CCE();
|
|
304
|
-
if (!this.
|
|
304
|
+
if (!this.o7t_1.equals(tmp0_other_with_cast.o7t_1))
|
|
305
305
|
return false;
|
|
306
306
|
return true;
|
|
307
307
|
}
|
|
308
|
-
static
|
|
308
|
+
static p7t(seen0, work, serializationConstructorMarker) {
|
|
309
309
|
if (!(1 === (1 & seen0))) {
|
|
310
|
-
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().
|
|
310
|
+
throwMissingFieldException(seen0, 1, $serializer_getInstance_0().m7t_1);
|
|
311
311
|
}
|
|
312
312
|
var $this = createThis(this);
|
|
313
|
-
$this.
|
|
313
|
+
$this.o7t_1 = work;
|
|
314
314
|
return $this;
|
|
315
315
|
}
|
|
316
316
|
}
|
|
@@ -325,10 +325,10 @@ function $workCOROUTINE$() {
|
|
|
325
325
|
class $ extends CoroutineImpl() {
|
|
326
326
|
constructor(_this__u8e3s4, network, timestamp, target, resultContinuation) {
|
|
327
327
|
super(resultContinuation);
|
|
328
|
-
this.
|
|
329
|
-
this.
|
|
330
|
-
this.
|
|
331
|
-
this.
|
|
328
|
+
this.y7t_1 = _this__u8e3s4;
|
|
329
|
+
this.z7t_1 = network;
|
|
330
|
+
this.a7u_1 = timestamp;
|
|
331
|
+
this.b7u_1 = target;
|
|
332
332
|
}
|
|
333
333
|
ic() {
|
|
334
334
|
var suspendResult = this.cc_1;
|
|
@@ -338,9 +338,9 @@ function $workCOROUTINE$() {
|
|
|
338
338
|
switch (tmp) {
|
|
339
339
|
case 0:
|
|
340
340
|
this.bc_1 = 2;
|
|
341
|
-
this.
|
|
341
|
+
this.c7u_1 = new (Request())(this.z7t_1, this.a7u_1, toHex(this.b7u_1));
|
|
342
342
|
this.ac_1 = 1;
|
|
343
|
-
suspendResult = this.
|
|
343
|
+
suspendResult = this.y7t_1.d7u(this.c7u_1, this);
|
|
344
344
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
345
345
|
return suspendResult;
|
|
346
346
|
}
|
|
@@ -348,7 +348,7 @@ function $workCOROUTINE$() {
|
|
|
348
348
|
continue $sm;
|
|
349
349
|
case 1:
|
|
350
350
|
var response = suspendResult;
|
|
351
|
-
return response.
|
|
351
|
+
return response.o7t_1;
|
|
352
352
|
case 2:
|
|
353
353
|
throw this.dc_1;
|
|
354
354
|
}
|
|
@@ -32,19 +32,19 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
|
|
|
32
32
|
constructor(this$0, $threshold, $target, resultContinuation, $box) {
|
|
33
33
|
if ($box === VOID)
|
|
34
34
|
$box = {};
|
|
35
|
-
$box.
|
|
36
|
-
$box.
|
|
37
|
-
$box.
|
|
35
|
+
$box.d7w_1 = this$0;
|
|
36
|
+
$box.e7w_1 = $threshold;
|
|
37
|
+
$box.f7w_1 = $target;
|
|
38
38
|
super(resultContinuation, $box);
|
|
39
39
|
}
|
|
40
|
-
|
|
40
|
+
h7w($this$promise, $completion) {
|
|
41
41
|
var tmp = this.d36($this$promise, $completion);
|
|
42
42
|
tmp.cc_1 = Unit_instance;
|
|
43
43
|
tmp.dc_1 = null;
|
|
44
44
|
return tmp.ic();
|
|
45
45
|
}
|
|
46
46
|
kd(p1, $completion) {
|
|
47
|
-
return this.
|
|
47
|
+
return this.h7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
48
48
|
}
|
|
49
49
|
ic() {
|
|
50
50
|
var suspendResult = this.cc_1;
|
|
@@ -55,7 +55,7 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
|
|
|
55
55
|
case 0:
|
|
56
56
|
this.bc_1 = 2;
|
|
57
57
|
this.ac_1 = 1;
|
|
58
|
-
suspendResult = this.
|
|
58
|
+
suspendResult = this.d7w_1.i7w_1.c7t(toULong(this.e7w_1), this.f7w_1, this);
|
|
59
59
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
60
60
|
return suspendResult;
|
|
61
61
|
}
|
|
@@ -78,8 +78,8 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
|
|
|
78
78
|
while (true);
|
|
79
79
|
}
|
|
80
80
|
d36($this$promise, completion) {
|
|
81
|
-
var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this.
|
|
82
|
-
i.
|
|
81
|
+
var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this.d7w_1, this.e7w_1, this.f7w_1, completion);
|
|
82
|
+
i.g7w_1 = $this$promise;
|
|
83
83
|
return i;
|
|
84
84
|
}
|
|
85
85
|
}
|
|
@@ -91,7 +91,7 @@ function AttoWorkerJsPromiseImpl$workThreshold$slambda() {
|
|
|
91
91
|
function AttoWorkerJsPromiseImpl$workThreshold$slambda_0(this$0, $threshold, $target, resultContinuation) {
|
|
92
92
|
var i = new (AttoWorkerJsPromiseImpl$workThreshold$slambda())(this$0, $threshold, $target, resultContinuation);
|
|
93
93
|
var l = function ($this$promise, $completion) {
|
|
94
|
-
return i.
|
|
94
|
+
return i.h7w($this$promise, $completion);
|
|
95
95
|
};
|
|
96
96
|
l.$arity = 1;
|
|
97
97
|
return l;
|
|
@@ -103,20 +103,20 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
|
|
|
103
103
|
constructor(this$0, $network, $timestamp, $target, resultContinuation, $box) {
|
|
104
104
|
if ($box === VOID)
|
|
105
105
|
$box = {};
|
|
106
|
-
$box.
|
|
107
|
-
$box.
|
|
108
|
-
$box.
|
|
109
|
-
$box.
|
|
106
|
+
$box.r7w_1 = this$0;
|
|
107
|
+
$box.s7w_1 = $network;
|
|
108
|
+
$box.t7w_1 = $timestamp;
|
|
109
|
+
$box.u7w_1 = $target;
|
|
110
110
|
super(resultContinuation, $box);
|
|
111
111
|
}
|
|
112
|
-
|
|
112
|
+
h7w($this$promise, $completion) {
|
|
113
113
|
var tmp = this.d36($this$promise, $completion);
|
|
114
114
|
tmp.cc_1 = Unit_instance;
|
|
115
115
|
tmp.dc_1 = null;
|
|
116
116
|
return tmp.ic();
|
|
117
117
|
}
|
|
118
118
|
kd(p1, $completion) {
|
|
119
|
-
return this.
|
|
119
|
+
return this.h7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
120
120
|
}
|
|
121
121
|
ic() {
|
|
122
122
|
var suspendResult = this.cc_1;
|
|
@@ -127,7 +127,7 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
|
|
|
127
127
|
case 0:
|
|
128
128
|
this.bc_1 = 2;
|
|
129
129
|
this.ac_1 = 1;
|
|
130
|
-
suspendResult = this.
|
|
130
|
+
suspendResult = this.r7w_1.i7w_1.d7t(this.s7w_1, Companion_getInstance().h1v(this.t7w_1), this.u7w_1, this);
|
|
131
131
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
132
132
|
return suspendResult;
|
|
133
133
|
}
|
|
@@ -150,8 +150,8 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
|
|
|
150
150
|
while (true);
|
|
151
151
|
}
|
|
152
152
|
d36($this$promise, completion) {
|
|
153
|
-
var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this.
|
|
154
|
-
i.
|
|
153
|
+
var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this.r7w_1, this.s7w_1, this.t7w_1, this.u7w_1, completion);
|
|
154
|
+
i.v7w_1 = $this$promise;
|
|
155
155
|
return i;
|
|
156
156
|
}
|
|
157
157
|
}
|
|
@@ -163,7 +163,7 @@ function AttoWorkerJsPromiseImpl$workNetwork$slambda() {
|
|
|
163
163
|
function AttoWorkerJsPromiseImpl$workNetwork$slambda_0(this$0, $network, $timestamp, $target, resultContinuation) {
|
|
164
164
|
var i = new (AttoWorkerJsPromiseImpl$workNetwork$slambda())(this$0, $network, $timestamp, $target, resultContinuation);
|
|
165
165
|
var l = function ($this$promise, $completion) {
|
|
166
|
-
return i.
|
|
166
|
+
return i.h7w($this$promise, $completion);
|
|
167
167
|
};
|
|
168
168
|
l.$arity = 1;
|
|
169
169
|
return l;
|
|
@@ -175,18 +175,18 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
|
|
|
175
175
|
constructor(this$0, $block, resultContinuation, $box) {
|
|
176
176
|
if ($box === VOID)
|
|
177
177
|
$box = {};
|
|
178
|
-
$box.
|
|
179
|
-
$box.
|
|
178
|
+
$box.e7x_1 = this$0;
|
|
179
|
+
$box.f7x_1 = $block;
|
|
180
180
|
super(resultContinuation, $box);
|
|
181
181
|
}
|
|
182
|
-
|
|
182
|
+
h7w($this$promise, $completion) {
|
|
183
183
|
var tmp = this.d36($this$promise, $completion);
|
|
184
184
|
tmp.cc_1 = Unit_instance;
|
|
185
185
|
tmp.dc_1 = null;
|
|
186
186
|
return tmp.ic();
|
|
187
187
|
}
|
|
188
188
|
kd(p1, $completion) {
|
|
189
|
-
return this.
|
|
189
|
+
return this.h7w((!(p1 == null) ? isInterface(p1, CoroutineScope()) : false) ? p1 : THROW_CCE(), $completion);
|
|
190
190
|
}
|
|
191
191
|
ic() {
|
|
192
192
|
var suspendResult = this.cc_1;
|
|
@@ -197,7 +197,7 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
|
|
|
197
197
|
case 0:
|
|
198
198
|
this.bc_1 = 2;
|
|
199
199
|
this.ac_1 = 1;
|
|
200
|
-
suspendResult = this.
|
|
200
|
+
suspendResult = this.e7x_1.i7w_1.e7t(this.f7x_1, this);
|
|
201
201
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
202
202
|
return suspendResult;
|
|
203
203
|
}
|
|
@@ -220,8 +220,8 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
|
|
|
220
220
|
while (true);
|
|
221
221
|
}
|
|
222
222
|
d36($this$promise, completion) {
|
|
223
|
-
var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this.
|
|
224
|
-
i.
|
|
223
|
+
var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this.e7x_1, this.f7x_1, completion);
|
|
224
|
+
i.g7x_1 = $this$promise;
|
|
225
225
|
return i;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
@@ -233,7 +233,7 @@ function AttoWorkerJsPromiseImpl$workBlock$slambda() {
|
|
|
233
233
|
function AttoWorkerJsPromiseImpl$workBlock$slambda_0(this$0, $block, resultContinuation) {
|
|
234
234
|
var i = new (AttoWorkerJsPromiseImpl$workBlock$slambda())(this$0, $block, resultContinuation);
|
|
235
235
|
var l = function ($this$promise, $completion) {
|
|
236
|
-
return i.
|
|
236
|
+
return i.h7w($this$promise, $completion);
|
|
237
237
|
};
|
|
238
238
|
l.$arity = 1;
|
|
239
239
|
return l;
|
|
@@ -243,7 +243,7 @@ function AttoWorkerJsPromiseImpl() {
|
|
|
243
243
|
if (AttoWorkerJsPromiseImplClass === VOID) {
|
|
244
244
|
class $ {
|
|
245
245
|
constructor(worker) {
|
|
246
|
-
this.
|
|
246
|
+
this.i7w_1 = worker;
|
|
247
247
|
}
|
|
248
248
|
workThreshold(threshold, target) {
|
|
249
249
|
var tmp = GlobalScope_instance;
|
|
@@ -74,14 +74,14 @@ var WorkerRemote$_init_$slambda_6gmo0oClass;
|
|
|
74
74
|
function WorkerRemote$_init_$slambda_6gmo0o() {
|
|
75
75
|
if (WorkerRemote$_init_$slambda_6gmo0oClass === VOID) {
|
|
76
76
|
class $ extends CoroutineImpl() {
|
|
77
|
-
|
|
77
|
+
z7i($completion) {
|
|
78
78
|
var tmp = this.r3m($completion);
|
|
79
79
|
tmp.cc_1 = Unit_instance;
|
|
80
80
|
tmp.dc_1 = null;
|
|
81
81
|
return tmp.ic();
|
|
82
82
|
}
|
|
83
83
|
pe($completion) {
|
|
84
|
-
return this.
|
|
84
|
+
return this.z7i($completion);
|
|
85
85
|
}
|
|
86
86
|
ic() {
|
|
87
87
|
var suspendResult = this.cc_1;
|
|
@@ -112,7 +112,7 @@ function WorkerRemote$_init_$slambda_6gmo0o() {
|
|
|
112
112
|
function WorkerRemote$_init_$slambda_6gmo0o_0(resultContinuation) {
|
|
113
113
|
var i = new (WorkerRemote$_init_$slambda_6gmo0o())(resultContinuation);
|
|
114
114
|
var l = function ($completion) {
|
|
115
|
-
return i.
|
|
115
|
+
return i.z7i($completion);
|
|
116
116
|
};
|
|
117
117
|
l.$arity = 0;
|
|
118
118
|
return l;
|
|
@@ -146,8 +146,8 @@ function $workCOROUTINE$() {
|
|
|
146
146
|
class $ extends CoroutineImpl() {
|
|
147
147
|
constructor(_this__u8e3s4, request, resultContinuation) {
|
|
148
148
|
super(resultContinuation);
|
|
149
|
-
this.
|
|
150
|
-
this.
|
|
149
|
+
this.u7u_1 = _this__u8e3s4;
|
|
150
|
+
this.v7u_1 = request;
|
|
151
151
|
}
|
|
152
152
|
ic() {
|
|
153
153
|
var suspendResult = this.cc_1;
|
|
@@ -158,34 +158,34 @@ function $workCOROUTINE$() {
|
|
|
158
158
|
case 0:
|
|
159
159
|
this.bc_1 = 4;
|
|
160
160
|
this.ac_1 = 1;
|
|
161
|
-
suspendResult = this.
|
|
161
|
+
suspendResult = this.u7u_1.m7v_1(this);
|
|
162
162
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
163
163
|
return suspendResult;
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
continue $sm;
|
|
167
167
|
case 1:
|
|
168
|
-
this.
|
|
169
|
-
this.
|
|
168
|
+
this.w7u_1 = suspendResult;
|
|
169
|
+
this.x7u_1 = this.u7u_1.l7v_1 + '/works';
|
|
170
170
|
var tmp_0 = this;
|
|
171
|
-
tmp_0.
|
|
171
|
+
tmp_0.y7u_1 = get_httpClient();
|
|
172
172
|
var tmp_1 = this;
|
|
173
|
-
tmp_1.
|
|
174
|
-
this.z7u_1 = this.x7u_1;
|
|
173
|
+
tmp_1.z7u_1 = this.x7u_1;
|
|
175
174
|
this.a7v_1 = this.y7u_1;
|
|
175
|
+
this.b7v_1 = this.z7u_1;
|
|
176
176
|
var tmp_2 = this;
|
|
177
|
-
tmp_2.
|
|
178
|
-
this.
|
|
179
|
-
this.
|
|
180
|
-
this.
|
|
177
|
+
tmp_2.c7v_1 = this.a7v_1;
|
|
178
|
+
this.d7v_1 = this.c7v_1;
|
|
179
|
+
this.e7v_1 = new (HttpRequestBuilder())();
|
|
180
|
+
this.e7v_1.o50_1 = Companion_getInstance_0().b46_1;
|
|
181
181
|
var tmp_3 = this;
|
|
182
|
-
tmp_3.
|
|
182
|
+
tmp_3.f7v_1 = this.d7v_1;
|
|
183
183
|
var tmp_4 = this;
|
|
184
|
-
var this_0 = this.
|
|
185
|
-
url(this_0, this.
|
|
184
|
+
var this_0 = this.e7v_1;
|
|
185
|
+
url(this_0, this.b7v_1);
|
|
186
186
|
contentType(this_0, Application_getInstance().i3z_1);
|
|
187
187
|
accept(this_0, Application_getInstance().i3z_1);
|
|
188
|
-
var body = this.
|
|
188
|
+
var body = this.v7u_1;
|
|
189
189
|
if (body == null) {
|
|
190
190
|
this_0.q50_1 = NullBody_instance;
|
|
191
191
|
var tmp_5 = getKClass(Request());
|
|
@@ -227,23 +227,23 @@ function $workCOROUTINE$() {
|
|
|
227
227
|
}
|
|
228
228
|
}
|
|
229
229
|
|
|
230
|
-
headers(this_0, WorkerRemote$work$lambda(this.
|
|
230
|
+
headers(this_0, WorkerRemote$work$lambda(this.w7u_1));
|
|
231
231
|
timeout(this_0, WorkerRemote$work$lambda_0);
|
|
232
|
-
tmp_4.
|
|
233
|
-
this.g7v_1 = this.e7v_1;
|
|
232
|
+
tmp_4.g7v_1 = this_0;
|
|
234
233
|
this.h7v_1 = this.f7v_1;
|
|
234
|
+
this.i7v_1 = this.g7v_1;
|
|
235
235
|
this.ac_1 = 2;
|
|
236
|
-
suspendResult = (new (HttpStatement())(this.
|
|
236
|
+
suspendResult = (new (HttpStatement())(this.i7v_1, this.h7v_1)).q61(this);
|
|
237
237
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
238
238
|
return suspendResult;
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
continue $sm;
|
|
242
242
|
case 2:
|
|
243
|
-
this.
|
|
244
|
-
this.
|
|
243
|
+
this.j7v_1 = suspendResult;
|
|
244
|
+
this.k7v_1 = this.j7v_1;
|
|
245
245
|
this.ac_1 = 3;
|
|
246
|
-
var tmp_11 = this.
|
|
246
|
+
var tmp_11 = this.k7v_1.l52();
|
|
247
247
|
var tmp_12 = getKClass(Response());
|
|
248
248
|
var tmp_13;
|
|
249
249
|
try {
|
|
@@ -299,13 +299,13 @@ function WorkerRemote() {
|
|
|
299
299
|
tmp = headerProvider;
|
|
300
300
|
}
|
|
301
301
|
headerProvider = tmp;
|
|
302
|
-
this.
|
|
303
|
-
this.
|
|
302
|
+
this.l7v_1 = url;
|
|
303
|
+
this.m7v_1 = headerProvider;
|
|
304
304
|
}
|
|
305
|
-
|
|
305
|
+
c7t(threshold, target, $completion) {
|
|
306
306
|
throw NotImplementedError().jd();
|
|
307
307
|
}
|
|
308
|
-
|
|
308
|
+
d7u(request, $completion) {
|
|
309
309
|
var tmp = new ($workCOROUTINE$())(this, request, $completion);
|
|
310
310
|
tmp.cc_1 = Unit_instance;
|
|
311
311
|
tmp.dc_1 = null;
|
|
@@ -314,8 +314,8 @@ function WorkerRemote() {
|
|
|
314
314
|
v5() {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
|
-
protoOf($).
|
|
318
|
-
protoOf($).
|
|
317
|
+
protoOf($).d7t = work;
|
|
318
|
+
protoOf($).e7t = work_0;
|
|
319
319
|
initMetadataForClass($, 'WorkerRemote', VOID, VOID, [AttoWorkerOperations()], [2, 1, 3]);
|
|
320
320
|
WorkerRemoteClass = $;
|
|
321
321
|
}
|
|
@@ -343,14 +343,14 @@ var remote$slambdaClass;
|
|
|
343
343
|
function remote$slambda() {
|
|
344
344
|
if (remote$slambdaClass === VOID) {
|
|
345
345
|
class $ extends CoroutineImpl() {
|
|
346
|
-
|
|
346
|
+
z7i($completion) {
|
|
347
347
|
var tmp = this.r3m($completion);
|
|
348
348
|
tmp.cc_1 = Unit_instance;
|
|
349
349
|
tmp.dc_1 = null;
|
|
350
350
|
return tmp.ic();
|
|
351
351
|
}
|
|
352
352
|
pe($completion) {
|
|
353
|
-
return this.
|
|
353
|
+
return this.z7i($completion);
|
|
354
354
|
}
|
|
355
355
|
ic() {
|
|
356
356
|
var suspendResult = this.cc_1;
|
|
@@ -381,7 +381,7 @@ function remote$slambda() {
|
|
|
381
381
|
function remote$slambda_0(resultContinuation) {
|
|
382
382
|
var i = new (remote$slambda())(resultContinuation);
|
|
383
383
|
var l = function ($completion) {
|
|
384
|
-
return i.
|
|
384
|
+
return i.z7i($completion);
|
|
385
385
|
};
|
|
386
386
|
l.$arity = 0;
|
|
387
387
|
return l;
|
|
@@ -161,7 +161,7 @@ function SelectImplementation() {
|
|
|
161
161
|
return TrySelectDetailedResult_0(trySelectInternal(this, clauseObject, result));
|
|
162
162
|
}
|
|
163
163
|
}
|
|
164
|
-
initMetadataForClass($, 'SelectImplementation', VOID, VOID, [CancelHandler(),
|
|
164
|
+
initMetadataForClass($, 'SelectImplementation', VOID, VOID, [CancelHandler(), Waiter(), SelectInstance()], [0, 2]);
|
|
165
165
|
SelectImplementationClass = $;
|
|
166
166
|
}
|
|
167
167
|
return SelectImplementationClass;
|
|
@@ -11,14 +11,14 @@ var CIOClass;
|
|
|
11
11
|
function CIO() {
|
|
12
12
|
if (CIOClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
|
-
|
|
14
|
+
a70(block) {
|
|
15
15
|
// Inline function 'kotlin.apply' call
|
|
16
16
|
var this_0 = new (CIOEngineConfig())();
|
|
17
17
|
block(this_0);
|
|
18
18
|
return new (CIOEngine())(this_0);
|
|
19
19
|
}
|
|
20
20
|
t51(block) {
|
|
21
|
-
return this.
|
|
21
|
+
return this.a70(block);
|
|
22
22
|
}
|
|
23
23
|
toString() {
|
|
24
24
|
return 'CIO';
|