@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
|
@@ -70,8 +70,8 @@ function selectEndpoint($this, url, proxy, unixSocket) {
|
|
|
70
70
|
port = url.g4b();
|
|
71
71
|
}
|
|
72
72
|
var tmp = protocol.toString();
|
|
73
|
-
var endpointId = host + ':' + port + ':' + tmp + ':' + (unixSocket == null ? null : unixSocket.
|
|
74
|
-
return $this.
|
|
73
|
+
var endpointId = host + ':' + port + ':' + tmp + ':' + (unixSocket == null ? null : unixSocket.b70_1);
|
|
74
|
+
return $this.i70_1.w3x(endpointId, CIOEngine$selectEndpoint$lambda(protocol, host, port, proxy, $this, unixSocket, endpointId));
|
|
75
75
|
}
|
|
76
76
|
var CIOEngine$slambdaClass;
|
|
77
77
|
function CIOEngine$slambda() {
|
|
@@ -80,8 +80,8 @@ function CIOEngine$slambda() {
|
|
|
80
80
|
constructor($requestJob, $selector, resultContinuation, $box) {
|
|
81
81
|
if ($box === VOID)
|
|
82
82
|
$box = {};
|
|
83
|
-
$box.
|
|
84
|
-
$box.
|
|
83
|
+
$box.w70_1 = $requestJob;
|
|
84
|
+
$box.x70_1 = $selector;
|
|
85
85
|
super(resultContinuation, $box);
|
|
86
86
|
}
|
|
87
87
|
z37($this$launch, $completion) {
|
|
@@ -106,25 +106,25 @@ function CIOEngine$slambda() {
|
|
|
106
106
|
case 1:
|
|
107
107
|
this.bc_1 = 4;
|
|
108
108
|
this.ac_1 = 2;
|
|
109
|
-
suspendResult = this.
|
|
109
|
+
suspendResult = this.w70_1.z1y(this);
|
|
110
110
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
111
111
|
return suspendResult;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
continue $sm;
|
|
115
115
|
case 2:
|
|
116
|
-
this.
|
|
116
|
+
this.z70_1 = suspendResult;
|
|
117
117
|
this.bc_1 = 5;
|
|
118
118
|
this.ac_1 = 3;
|
|
119
119
|
continue $sm;
|
|
120
120
|
case 3:
|
|
121
121
|
this.bc_1 = 5;
|
|
122
|
-
this.
|
|
122
|
+
this.x70_1.v5();
|
|
123
123
|
return Unit_instance;
|
|
124
124
|
case 4:
|
|
125
125
|
this.bc_1 = 5;
|
|
126
126
|
var t = this.dc_1;
|
|
127
|
-
this.
|
|
127
|
+
this.x70_1.v5();
|
|
128
128
|
throw t;
|
|
129
129
|
case 5:
|
|
130
130
|
throw this.dc_1;
|
|
@@ -141,8 +141,8 @@ function CIOEngine$slambda() {
|
|
|
141
141
|
while (true);
|
|
142
142
|
}
|
|
143
143
|
d36($this$launch, completion) {
|
|
144
|
-
var i = new (CIOEngine$slambda())(this.
|
|
145
|
-
i.
|
|
144
|
+
var i = new (CIOEngine$slambda())(this.w70_1, this.x70_1, completion);
|
|
145
|
+
i.y70_1 = $this$launch;
|
|
146
146
|
return i;
|
|
147
147
|
}
|
|
148
148
|
}
|
|
@@ -161,14 +161,14 @@ function CIOEngine$slambda_0($requestJob, $selector, resultContinuation) {
|
|
|
161
161
|
}
|
|
162
162
|
function CIOEngine$selectEndpoint$lambda$lambda(this$0, $endpointId) {
|
|
163
163
|
return function () {
|
|
164
|
-
this$0.
|
|
164
|
+
this$0.i70_1.b3y($endpointId);
|
|
165
165
|
return Unit_instance;
|
|
166
166
|
};
|
|
167
167
|
}
|
|
168
168
|
function CIOEngine$selectEndpoint$lambda($protocol, $host, $port, $proxy, this$0, $unixSocket, $endpointId) {
|
|
169
169
|
return function () {
|
|
170
170
|
var secure = isSecure($protocol);
|
|
171
|
-
return new (Endpoint())($host, $port, $proxy, secure, this$0.
|
|
171
|
+
return new (Endpoint())($host, $port, $proxy, secure, this$0.g70_1, this$0.k70_1, this$0.m70_1, CIOEngine$selectEndpoint$lambda$lambda(this$0, $endpointId), $unixSocket);
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
var $executeCOROUTINE$Class;
|
|
@@ -177,8 +177,8 @@ function $executeCOROUTINE$() {
|
|
|
177
177
|
class $ extends CoroutineImpl() {
|
|
178
178
|
constructor(_this__u8e3s4, data, resultContinuation) {
|
|
179
179
|
super(resultContinuation);
|
|
180
|
-
this.
|
|
181
|
-
this.
|
|
180
|
+
this.i71_1 = _this__u8e3s4;
|
|
181
|
+
this.j71_1 = data;
|
|
182
182
|
}
|
|
183
183
|
ic() {
|
|
184
184
|
var suspendResult = this.cc_1;
|
|
@@ -196,17 +196,17 @@ function $executeCOROUTINE$() {
|
|
|
196
196
|
|
|
197
197
|
continue $sm;
|
|
198
198
|
case 1:
|
|
199
|
-
this.
|
|
199
|
+
this.k71_1 = suspendResult;
|
|
200
200
|
this.ac_1 = 2;
|
|
201
201
|
continue $sm;
|
|
202
202
|
case 2:
|
|
203
|
-
if (!get_isActive(this.
|
|
203
|
+
if (!get_isActive(this.i71_1.m70_1)) {
|
|
204
204
|
this.ac_1 = 12;
|
|
205
205
|
continue $sm;
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
this.
|
|
209
|
-
this.
|
|
208
|
+
this.l71_1 = this.j71_1.i5r(UnixSocketCapability_instance);
|
|
209
|
+
this.m71_1 = selectEndpoint(this.i71_1, this.j71_1.q56_1, this.i71_1.n70_1, this.l71_1);
|
|
210
210
|
this.ac_1 = 3;
|
|
211
211
|
continue $sm;
|
|
212
212
|
case 3:
|
|
@@ -219,23 +219,23 @@ function $executeCOROUTINE$() {
|
|
|
219
219
|
this.bc_1 = 9;
|
|
220
220
|
this.bc_1 = 8;
|
|
221
221
|
this.ac_1 = 6;
|
|
222
|
-
suspendResult = this.
|
|
222
|
+
suspendResult = this.m71_1.d72(this.j71_1, this.k71_1, this);
|
|
223
223
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
224
224
|
return suspendResult;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
227
|
continue $sm;
|
|
228
228
|
case 6:
|
|
229
|
-
this.
|
|
229
|
+
this.o71_1 = suspendResult;
|
|
230
230
|
this.bc_1 = 13;
|
|
231
231
|
this.ac_1 = 7;
|
|
232
232
|
var tmp_0 = this;
|
|
233
233
|
continue $sm;
|
|
234
234
|
case 7:
|
|
235
|
-
var tmp_1 = this.
|
|
235
|
+
var tmp_1 = this.o71_1;
|
|
236
236
|
this.bc_1 = 13;
|
|
237
|
-
if (!get_isActive(this.
|
|
238
|
-
this.
|
|
237
|
+
if (!get_isActive(this.i71_1.m70_1)) {
|
|
238
|
+
this.m71_1.v5();
|
|
239
239
|
}
|
|
240
240
|
|
|
241
241
|
return tmp_1;
|
|
@@ -244,7 +244,7 @@ function $executeCOROUTINE$() {
|
|
|
244
244
|
var tmp_2 = this.dc_1;
|
|
245
245
|
if (tmp_2 instanceof ClosedSendChannelException()) {
|
|
246
246
|
var _unused_var__etf5q3 = this.dc_1;
|
|
247
|
-
this.
|
|
247
|
+
this.n71_1 = Unit_instance;
|
|
248
248
|
this.bc_1 = 13;
|
|
249
249
|
this.ac_1 = 10;
|
|
250
250
|
var tmp_3 = this;
|
|
@@ -256,23 +256,23 @@ function $executeCOROUTINE$() {
|
|
|
256
256
|
case 9:
|
|
257
257
|
this.bc_1 = 13;
|
|
258
258
|
var t = this.dc_1;
|
|
259
|
-
if (!get_isActive(this.
|
|
260
|
-
this.
|
|
259
|
+
if (!get_isActive(this.i71_1.m70_1)) {
|
|
260
|
+
this.m71_1.v5();
|
|
261
261
|
}
|
|
262
262
|
|
|
263
263
|
throw t;
|
|
264
264
|
case 10:
|
|
265
265
|
this.bc_1 = 13;
|
|
266
|
-
if (!get_isActive(this.
|
|
267
|
-
this.
|
|
266
|
+
if (!get_isActive(this.i71_1.m70_1)) {
|
|
267
|
+
this.m71_1.v5();
|
|
268
268
|
}
|
|
269
269
|
|
|
270
270
|
this.ac_1 = 2;
|
|
271
271
|
continue $sm;
|
|
272
272
|
case 11:
|
|
273
273
|
this.bc_1 = 13;
|
|
274
|
-
if (!get_isActive(this.
|
|
275
|
-
this.
|
|
274
|
+
if (!get_isActive(this.i71_1.m70_1)) {
|
|
275
|
+
this.m71_1.v5();
|
|
276
276
|
}
|
|
277
277
|
|
|
278
278
|
this.ac_1 = 2;
|
|
@@ -305,13 +305,13 @@ function CIOEngine() {
|
|
|
305
305
|
class $ extends HttpClientEngineBase() {
|
|
306
306
|
constructor(config) {
|
|
307
307
|
super('ktor-cio');
|
|
308
|
-
this.
|
|
309
|
-
this.
|
|
310
|
-
this.
|
|
311
|
-
this.
|
|
312
|
-
this.
|
|
308
|
+
this.g70_1 = config;
|
|
309
|
+
this.h70_1 = setOf([HttpTimeoutCapability_instance, WebSocketCapability_instance, WebSocketExtensionsCapability_instance, SSECapability_instance, UnixSocketCapability_instance]);
|
|
310
|
+
this.i70_1 = new (ConcurrentMap())();
|
|
311
|
+
this.j70_1 = SelectorManager(this.s58());
|
|
312
|
+
this.k70_1 = new (ConnectionFactory())(this.j70_1, this.g70_1.k72_1, this.g70_1.i72_1.m72_1);
|
|
313
313
|
var tmp = this;
|
|
314
|
-
var tmp0_safe_receiver = this.
|
|
314
|
+
var tmp0_safe_receiver = this.g70_1.n58_1;
|
|
315
315
|
var type = tmp0_safe_receiver == null ? null : get_type(tmp0_safe_receiver);
|
|
316
316
|
var tmp_0;
|
|
317
317
|
switch (type == null ? -1 : type.h3_1) {
|
|
@@ -320,31 +320,31 @@ function CIOEngine() {
|
|
|
320
320
|
tmp_0 = null;
|
|
321
321
|
break;
|
|
322
322
|
case 1:
|
|
323
|
-
tmp_0 = this.
|
|
323
|
+
tmp_0 = this.g70_1.n58_1;
|
|
324
324
|
break;
|
|
325
325
|
default:
|
|
326
326
|
throw IllegalStateException().o4('CIO engine does not currently support ' + toString(type) + ' proxies.');
|
|
327
327
|
}
|
|
328
|
-
tmp.
|
|
328
|
+
tmp.n70_1 = tmp_0;
|
|
329
329
|
var parentContext = super.s1x();
|
|
330
330
|
var parent = ensureNotNull(parentContext.nc(Key_instance));
|
|
331
|
-
this.
|
|
332
|
-
var requestField = this.
|
|
333
|
-
this.
|
|
331
|
+
this.l70_1 = SilentSupervisor(parent);
|
|
332
|
+
var requestField = this.l70_1;
|
|
333
|
+
this.m70_1 = parentContext.lm(requestField);
|
|
334
334
|
var requestJob = ensureNotNull(requestField.nc(Key_instance));
|
|
335
|
-
var selector = this.
|
|
335
|
+
var selector = this.j70_1;
|
|
336
336
|
var tmp_1 = GlobalScope_instance;
|
|
337
337
|
var tmp_2 = CoroutineStart_ATOMIC_getInstance();
|
|
338
338
|
launch(tmp_1, parentContext, tmp_2, CIOEngine$slambda_0(requestJob, selector, null));
|
|
339
339
|
}
|
|
340
340
|
u50() {
|
|
341
|
-
return this.
|
|
341
|
+
return this.g70_1;
|
|
342
342
|
}
|
|
343
343
|
x56() {
|
|
344
|
-
return this.
|
|
344
|
+
return this.h70_1;
|
|
345
345
|
}
|
|
346
346
|
s1x() {
|
|
347
|
-
return this.
|
|
347
|
+
return this.m70_1;
|
|
348
348
|
}
|
|
349
349
|
j58(data, $completion) {
|
|
350
350
|
var tmp = new ($executeCOROUTINE$())(this, data, $completion);
|
|
@@ -356,14 +356,14 @@ function CIOEngine() {
|
|
|
356
356
|
super.v5();
|
|
357
357
|
// Inline function 'kotlin.collections.forEach' call
|
|
358
358
|
// Inline function 'kotlin.collections.iterator' call
|
|
359
|
-
var _iterator__ex2g4s = this.
|
|
359
|
+
var _iterator__ex2g4s = this.i70_1.q1().d1();
|
|
360
360
|
while (_iterator__ex2g4s.e1()) {
|
|
361
361
|
var element = _iterator__ex2g4s.f1();
|
|
362
362
|
// Inline function 'kotlin.collections.component2' call
|
|
363
363
|
var endpoint = element.s1();
|
|
364
364
|
endpoint.v5();
|
|
365
365
|
}
|
|
366
|
-
var tmp = this.
|
|
366
|
+
var tmp = this.l70_1.nc(Key_instance);
|
|
367
367
|
((!(tmp == null) ? isInterface(tmp, CompletableJob()) : false) ? tmp : THROW_CCE()).d25();
|
|
368
368
|
}
|
|
369
369
|
}
|
|
@@ -13,10 +13,10 @@ function CIOEngineConfig() {
|
|
|
13
13
|
class $ extends HttpClientEngineConfig() {
|
|
14
14
|
constructor() {
|
|
15
15
|
super();
|
|
16
|
-
this.
|
|
17
|
-
this.
|
|
18
|
-
this.
|
|
19
|
-
this.
|
|
16
|
+
this.i72_1 = new (EndpointConfig())();
|
|
17
|
+
this.j72_1 = new (TLSConfigBuilder())();
|
|
18
|
+
this.k72_1 = 1000;
|
|
19
|
+
this.l72_1 = new (Long())(15000, 0);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
initMetadataForClass($, 'CIOEngineConfig', CIOEngineConfig);
|
|
@@ -29,13 +29,13 @@ function EndpointConfig() {
|
|
|
29
29
|
if (EndpointConfigClass === VOID) {
|
|
30
30
|
class $ {
|
|
31
31
|
constructor() {
|
|
32
|
-
this.
|
|
33
|
-
this.
|
|
34
|
-
this.
|
|
35
|
-
this.
|
|
36
|
-
this.
|
|
37
|
-
this.
|
|
38
|
-
this.
|
|
32
|
+
this.m72_1 = 100;
|
|
33
|
+
this.n72_1 = new (Long())(5000, 0);
|
|
34
|
+
this.o72_1 = 20;
|
|
35
|
+
this.p72_1 = new (Long())(5000, 0);
|
|
36
|
+
this.q72_1 = new (Long())(-1, 2147483647);
|
|
37
|
+
this.r72_1 = 1;
|
|
38
|
+
this.s72_1 = false;
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
initMetadataForClass($, 'EndpointConfig', EndpointConfig);
|
|
@@ -15,7 +15,7 @@ import { Unit_instance1fbcbse1fwigr as Unit_instance } from '../../../../../../k
|
|
|
15
15
|
//endregion
|
|
16
16
|
function ConnectionFactory$connect$lambda(this$0) {
|
|
17
17
|
return function () {
|
|
18
|
-
return Semaphore(this$0.
|
|
18
|
+
return Semaphore(this$0.u72_1);
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
var $connectCOROUTINE$Class;
|
|
@@ -24,9 +24,9 @@ function $connectCOROUTINE$() {
|
|
|
24
24
|
class $ extends CoroutineImpl() {
|
|
25
25
|
constructor(_this__u8e3s4, address, configuration, resultContinuation) {
|
|
26
26
|
super(resultContinuation);
|
|
27
|
-
this.
|
|
28
|
-
this.
|
|
29
|
-
this.
|
|
27
|
+
this.f73_1 = _this__u8e3s4;
|
|
28
|
+
this.g73_1 = address;
|
|
29
|
+
this.h73_1 = configuration;
|
|
30
30
|
}
|
|
31
31
|
ic() {
|
|
32
32
|
var suspendResult = this.cc_1;
|
|
@@ -37,7 +37,7 @@ function $connectCOROUTINE$() {
|
|
|
37
37
|
case 0:
|
|
38
38
|
this.bc_1 = 8;
|
|
39
39
|
this.ac_1 = 1;
|
|
40
|
-
suspendResult = this.
|
|
40
|
+
suspendResult = this.f73_1.v72_1.l2o(this);
|
|
41
41
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
42
42
|
return suspendResult;
|
|
43
43
|
}
|
|
@@ -46,9 +46,9 @@ function $connectCOROUTINE$() {
|
|
|
46
46
|
case 1:
|
|
47
47
|
this.bc_1 = 6;
|
|
48
48
|
var tmp_0 = this;
|
|
49
|
-
tmp_0.
|
|
49
|
+
tmp_0.j73_1 = this.f73_1.w72_1.w3x(this.g73_1, ConnectionFactory$connect$lambda(this.f73_1));
|
|
50
50
|
this.ac_1 = 2;
|
|
51
|
-
suspendResult = this.
|
|
51
|
+
suspendResult = this.j73_1.l2o(this);
|
|
52
52
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
53
53
|
return suspendResult;
|
|
54
54
|
}
|
|
@@ -57,14 +57,14 @@ function $connectCOROUTINE$() {
|
|
|
57
57
|
case 2:
|
|
58
58
|
this.bc_1 = 4;
|
|
59
59
|
this.ac_1 = 3;
|
|
60
|
-
suspendResult = aSocket(this.
|
|
60
|
+
suspendResult = aSocket(this.f73_1.t72_1).r6u().y6w(this.g73_1, this.h73_1, this);
|
|
61
61
|
if (suspendResult === get_COROUTINE_SUSPENDED()) {
|
|
62
62
|
return suspendResult;
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
continue $sm;
|
|
66
66
|
case 3:
|
|
67
|
-
this.
|
|
67
|
+
this.k73_1 = suspendResult;
|
|
68
68
|
this.bc_1 = 6;
|
|
69
69
|
this.ac_1 = 5;
|
|
70
70
|
continue $sm;
|
|
@@ -74,7 +74,7 @@ function $connectCOROUTINE$() {
|
|
|
74
74
|
if (tmp_1 instanceof Error) {
|
|
75
75
|
var cause = this.dc_1;
|
|
76
76
|
var tmp_2 = this;
|
|
77
|
-
this.
|
|
77
|
+
this.j73_1.m2o();
|
|
78
78
|
throw cause;
|
|
79
79
|
} else {
|
|
80
80
|
throw this.dc_1;
|
|
@@ -82,7 +82,7 @@ function $connectCOROUTINE$() {
|
|
|
82
82
|
|
|
83
83
|
case 5:
|
|
84
84
|
this.bc_1 = 6;
|
|
85
|
-
this.
|
|
85
|
+
this.i73_1 = this.k73_1;
|
|
86
86
|
this.bc_1 = 8;
|
|
87
87
|
this.ac_1 = 7;
|
|
88
88
|
continue $sm;
|
|
@@ -92,7 +92,7 @@ function $connectCOROUTINE$() {
|
|
|
92
92
|
if (tmp_3 instanceof Error) {
|
|
93
93
|
var cause_0 = this.dc_1;
|
|
94
94
|
var tmp_4 = this;
|
|
95
|
-
this.
|
|
95
|
+
this.f73_1.v72_1.m2o();
|
|
96
96
|
throw cause_0;
|
|
97
97
|
} else {
|
|
98
98
|
throw this.dc_1;
|
|
@@ -100,7 +100,7 @@ function $connectCOROUTINE$() {
|
|
|
100
100
|
|
|
101
101
|
case 7:
|
|
102
102
|
this.bc_1 = 8;
|
|
103
|
-
return this.
|
|
103
|
+
return this.i73_1;
|
|
104
104
|
case 8:
|
|
105
105
|
throw this.dc_1;
|
|
106
106
|
}
|
|
@@ -126,25 +126,25 @@ function ConnectionFactory() {
|
|
|
126
126
|
if (ConnectionFactoryClass === VOID) {
|
|
127
127
|
class $ {
|
|
128
128
|
constructor(selector, connectionsLimit, addressConnectionsLimit) {
|
|
129
|
-
this.
|
|
130
|
-
this.
|
|
131
|
-
this.
|
|
132
|
-
this.
|
|
129
|
+
this.t72_1 = selector;
|
|
130
|
+
this.u72_1 = addressConnectionsLimit;
|
|
131
|
+
this.v72_1 = Semaphore(connectionsLimit);
|
|
132
|
+
this.w72_1 = new (ConcurrentMap())();
|
|
133
133
|
}
|
|
134
|
-
|
|
134
|
+
y6w(address, configuration, $completion) {
|
|
135
135
|
var tmp = new ($connectCOROUTINE$())(this, address, configuration, $completion);
|
|
136
136
|
tmp.cc_1 = Unit_instance;
|
|
137
137
|
tmp.dc_1 = null;
|
|
138
138
|
return tmp.ic();
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
var tmp0_safe_receiver = this.
|
|
140
|
+
l73(address) {
|
|
141
|
+
var tmp0_safe_receiver = this.w72_1.y3x(address);
|
|
142
142
|
if (tmp0_safe_receiver == null)
|
|
143
143
|
null;
|
|
144
144
|
else {
|
|
145
145
|
tmp0_safe_receiver.m2o();
|
|
146
146
|
}
|
|
147
|
-
this.
|
|
147
|
+
this.v72_1.m2o();
|
|
148
148
|
}
|
|
149
149
|
}
|
|
150
150
|
initMetadataForClass($, 'ConnectionFactory', VOID, VOID, VOID, [2]);
|
|
@@ -12,15 +12,15 @@ function ConnectionPipeline() {
|
|
|
12
12
|
if (ConnectionPipelineClass === VOID) {
|
|
13
13
|
class $ {
|
|
14
14
|
constructor(keepAliveTime, pipelineMaxSize, connection, overProxy, tasks, parentContext) {
|
|
15
|
-
this.
|
|
15
|
+
this.e79_1 = parentContext;
|
|
16
16
|
// Inline function 'kotlin.error' call
|
|
17
17
|
var message = 'Pipelining is not supported in native/js/wasm CIO';
|
|
18
18
|
throw IllegalStateException().o4(toString(message));
|
|
19
19
|
}
|
|
20
20
|
s1x() {
|
|
21
|
-
return this.
|
|
21
|
+
return this.e79_1;
|
|
22
22
|
}
|
|
23
|
-
|
|
23
|
+
f79() {
|
|
24
24
|
var message = 'Pipelining is not supported in native/js/wasm CIO';
|
|
25
25
|
throw IllegalStateException().o4(toString(message));
|
|
26
26
|
}
|