@attocash/cli 0.1.2 → 0.2.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.
- package/README.md +39 -0
- package/dist/application/app.d.ts +11 -0
- package/dist/application/app.js +37 -12
- package/dist/cli/cli.js +13 -2
- package/dist/cli/output.js +1 -1
- package/dist/spending/payments.js +5 -6
- package/dist/storage/state.d.ts +7 -0
- package/dist/storage/state.js +61 -8
- package/dist/wallet/background-receive.d.ts +30 -0
- package/dist/wallet/background-receive.js +117 -0
- package/dist/wallet/receive-daemon.d.ts +1 -0
- package/dist/wallet/receive-daemon.js +63 -0
- package/dist/wallet/work-daemon.d.ts +1 -0
- package/dist/wallet/work-daemon.js +20 -0
- package/dist/wallet/work.d.ts +31 -9
- package/dist/wallet/work.js +307 -78
- package/dist/watches/manager.d.ts +3 -3
- package/node_modules/@attocash/commons-core/Kotlin-DateTime-library-kotlinx-datetime.mjs +1 -1
- package/node_modules/@attocash/commons-core/package.json +1 -1
- package/node_modules/@attocash/commons-node/README.md +7 -0
- package/node_modules/@attocash/commons-node/commons-commons-node.d.mts +17 -17
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs +173 -173
- package/node_modules/@attocash/commons-node/commons-commons-node.mjs.map +1 -1
- package/node_modules/@attocash/commons-node/package.json +3 -3
- package/node_modules/@attocash/commons-node-remote/package.json +4 -4
- package/node_modules/@attocash/commons-transport/package.json +2 -2
- package/node_modules/@attocash/commons-worker/package.json +3 -3
- package/node_modules/@attocash/commons-worker-remote/package.json +4 -4
- package/package.json +5 -5
|
@@ -1425,43 +1425,43 @@ class AttoNodeClientAsync {
|
|
|
1425
1425
|
return this.accountByAddresses === protoOf(AttoNodeClientAsync).accountByAddresses ? (yield* this.f3t(addresses, $completion)) : (yield* await_0(this.accountByAddresses(addresses), $completion));
|
|
1426
1426
|
}
|
|
1427
1427
|
onAccountAll(onAccount, onCancel) {
|
|
1428
|
-
var
|
|
1429
|
-
var
|
|
1430
|
-
// Inline function 'cash.atto.commons.node.
|
|
1431
|
-
var onCancel_0 = AttoNodeClientAsync$onAccount$
|
|
1432
|
-
return toAttoJob(launch(
|
|
1428
|
+
var tmp0 = this.l3s_1;
|
|
1429
|
+
var tmp2 = this.client.v3p();
|
|
1430
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1431
|
+
var onCancel_0 = AttoNodeClientAsync$onAccount$slambda(onCancel);
|
|
1432
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccount$slambda_0(tmp2, onCancel_0, onAccount)));
|
|
1433
1433
|
}
|
|
1434
1434
|
onAccountByPublicKey(publicKey, onAccount, onCancel) {
|
|
1435
|
-
var
|
|
1436
|
-
var
|
|
1437
|
-
// Inline function 'cash.atto.commons.node.
|
|
1438
|
-
var onCancel_0 = AttoNodeClientAsync$onAccount$
|
|
1439
|
-
return toAttoJob(launch(
|
|
1435
|
+
var tmp0 = this.l3s_1;
|
|
1436
|
+
var tmp2 = this.client.w3p(publicKey);
|
|
1437
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1438
|
+
var onCancel_0 = AttoNodeClientAsync$onAccount$slambda_1(onCancel);
|
|
1439
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccount$slambda_2(tmp2, onCancel_0, onAccount)));
|
|
1440
1440
|
}
|
|
1441
1441
|
onAccountByAddresses(addresses, onAccount, onCancel) {
|
|
1442
|
-
var
|
|
1443
|
-
var
|
|
1444
|
-
// Inline function 'cash.atto.commons.node.
|
|
1445
|
-
var onCancel_0 = AttoNodeClientAsync$onAccount$
|
|
1446
|
-
return toAttoJob(launch(
|
|
1442
|
+
var tmp0 = this.l3s_1;
|
|
1443
|
+
var tmp2 = this.client.x3p(toList(addresses));
|
|
1444
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1445
|
+
var onCancel_0 = AttoNodeClientAsync$onAccount$slambda_3(onCancel);
|
|
1446
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccount$slambda_4(tmp2, onCancel_0, onAccount)));
|
|
1447
1447
|
}
|
|
1448
1448
|
h3t(publicKey, minAmount, onReceivable, onCancel) {
|
|
1449
|
-
var
|
|
1450
|
-
var
|
|
1451
|
-
// Inline function 'cash.atto.commons.node.
|
|
1452
|
-
var onCancel_0 = AttoNodeClientAsync$onReceivable$
|
|
1453
|
-
return toAttoJob(launch(
|
|
1449
|
+
var tmp0 = this.l3s_1;
|
|
1450
|
+
var tmp2 = this.client.y3p(publicKey, minAmount);
|
|
1451
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1452
|
+
var onCancel_0 = AttoNodeClientAsync$onReceivable$slambda(onCancel);
|
|
1453
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onReceivable$slambda_0(tmp2, onCancel_0, onReceivable)));
|
|
1454
1454
|
}
|
|
1455
1455
|
onReceivableByPublicKey(publicKey, minAmount, onReceivable, onCancel, $super) {
|
|
1456
1456
|
minAmount = minAmount === VOID ? new AttoAmount(_ULong___init__impl__c78o9k(1n)) : minAmount;
|
|
1457
1457
|
return $super === VOID ? this.h3t(publicKey, minAmount, onReceivable, onCancel) : $super.h3t.call(this, publicKey, minAmount, onReceivable, onCancel);
|
|
1458
1458
|
}
|
|
1459
1459
|
i3t(addresses, minAmount, onReceivable, onCancel) {
|
|
1460
|
-
var
|
|
1461
|
-
var
|
|
1462
|
-
// Inline function 'cash.atto.commons.node.
|
|
1463
|
-
var onCancel_0 = AttoNodeClientAsync$onReceivable$
|
|
1464
|
-
return toAttoJob(launch(
|
|
1460
|
+
var tmp0 = this.l3s_1;
|
|
1461
|
+
var tmp2 = this.client.z3p(toList(addresses), minAmount);
|
|
1462
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1463
|
+
var onCancel_0 = AttoNodeClientAsync$onReceivable$slambda_1(onCancel);
|
|
1464
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onReceivable$slambda_2(tmp2, onCancel_0, onReceivable)));
|
|
1465
1465
|
}
|
|
1466
1466
|
onReceivableByAddresses(addresses, minAmount, onReceivable, onCancel, $super) {
|
|
1467
1467
|
minAmount = minAmount === VOID ? new AttoAmount(_ULong___init__impl__c78o9k(1n)) : minAmount;
|
|
@@ -1477,25 +1477,25 @@ class AttoNodeClientAsync {
|
|
|
1477
1477
|
return this.accountEntry === protoOf(AttoNodeClientAsync).accountEntry ? (yield* this.a3q(hash, $completion)) : (yield* await_0(this.accountEntry(hash), $completion));
|
|
1478
1478
|
}
|
|
1479
1479
|
onAccountEntryAll(onAccountEntry, onCancel) {
|
|
1480
|
-
var
|
|
1481
|
-
var
|
|
1482
|
-
// Inline function 'cash.atto.commons.node.
|
|
1483
|
-
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$
|
|
1484
|
-
return toAttoJob(launch(
|
|
1480
|
+
var tmp0 = this.l3s_1;
|
|
1481
|
+
var tmp2 = this.client.b3q();
|
|
1482
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1483
|
+
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$slambda(onCancel);
|
|
1484
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_0(tmp2, onCancel_0, onAccountEntry)));
|
|
1485
1485
|
}
|
|
1486
1486
|
onAccountEntryByHash(hash, onAccountEntry, onCancel) {
|
|
1487
|
-
var
|
|
1488
|
-
var
|
|
1489
|
-
// Inline function 'cash.atto.commons.node.
|
|
1490
|
-
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$
|
|
1491
|
-
return toAttoJob(launch(
|
|
1487
|
+
var tmp0 = this.l3s_1;
|
|
1488
|
+
var tmp2 = this.client.c3q(hash);
|
|
1489
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1490
|
+
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$slambda_1(onCancel);
|
|
1491
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_2(tmp2, onCancel_0, onAccountEntry)));
|
|
1492
1492
|
}
|
|
1493
1493
|
k3t(publicKey, fromHeight, toHeight, onAccountEntry, onCancel) {
|
|
1494
|
-
var
|
|
1495
|
-
var
|
|
1496
|
-
// Inline function 'cash.atto.commons.node.
|
|
1497
|
-
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$
|
|
1498
|
-
return toAttoJob(launch(
|
|
1494
|
+
var tmp0 = this.l3s_1;
|
|
1495
|
+
var tmp2 = this.client.d3q(publicKey, fromHeight, toHeight);
|
|
1496
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1497
|
+
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$slambda_3(onCancel);
|
|
1498
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_4(tmp2, onCancel_0, onAccountEntry)));
|
|
1499
1499
|
}
|
|
1500
1500
|
onAccountEntryByPublicKey(publicKey, fromHeight, toHeight, onAccountEntry, onCancel, $super) {
|
|
1501
1501
|
fromHeight = fromHeight === VOID ? new AttoHeight(_ULong___init__impl__c78o9k(1n)) : fromHeight;
|
|
@@ -1503,11 +1503,11 @@ class AttoNodeClientAsync {
|
|
|
1503
1503
|
return $super === VOID ? this.k3t(publicKey, fromHeight, toHeight, onAccountEntry, onCancel) : $super.k3t.call(this, publicKey, fromHeight, toHeight, onAccountEntry, onCancel);
|
|
1504
1504
|
}
|
|
1505
1505
|
onAccountEntryByHeightSearch(heightSearch, onAccountEntry, onCancel) {
|
|
1506
|
-
var
|
|
1507
|
-
var
|
|
1508
|
-
// Inline function 'cash.atto.commons.node.
|
|
1509
|
-
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$
|
|
1510
|
-
return toAttoJob(launch(
|
|
1506
|
+
var tmp0 = this.l3s_1;
|
|
1507
|
+
var tmp2 = this.client.e3q(heightSearch);
|
|
1508
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1509
|
+
var onCancel_0 = AttoNodeClientAsync$onAccountEntry$slambda_5(onCancel);
|
|
1510
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onAccountEntry$slambda_6(tmp2, onCancel_0, onAccountEntry)));
|
|
1511
1511
|
}
|
|
1512
1512
|
*f3q(hash, $completion) {
|
|
1513
1513
|
return yield* this.client.f3q(hash, $completion);
|
|
@@ -1519,25 +1519,25 @@ class AttoNodeClientAsync {
|
|
|
1519
1519
|
return this.transaction === protoOf(AttoNodeClientAsync).transaction ? (yield* this.f3q(hash, $completion)) : (yield* await_0(this.transaction(hash), $completion));
|
|
1520
1520
|
}
|
|
1521
1521
|
onTransactionAll(onTransaction, onCancel) {
|
|
1522
|
-
var
|
|
1523
|
-
var
|
|
1524
|
-
// Inline function 'cash.atto.commons.node.
|
|
1525
|
-
var onCancel_0 = AttoNodeClientAsync$onTransaction$
|
|
1526
|
-
return toAttoJob(launch(
|
|
1522
|
+
var tmp0 = this.l3s_1;
|
|
1523
|
+
var tmp2 = this.client.g3q();
|
|
1524
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1525
|
+
var onCancel_0 = AttoNodeClientAsync$onTransaction$slambda(onCancel);
|
|
1526
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_0(tmp2, onCancel_0, onTransaction)));
|
|
1527
1527
|
}
|
|
1528
1528
|
onTransactionByHash(hash, onTransaction, onCancel) {
|
|
1529
|
-
var
|
|
1530
|
-
var
|
|
1531
|
-
// Inline function 'cash.atto.commons.node.
|
|
1532
|
-
var onCancel_0 = AttoNodeClientAsync$onTransaction$
|
|
1533
|
-
return toAttoJob(launch(
|
|
1529
|
+
var tmp0 = this.l3s_1;
|
|
1530
|
+
var tmp2 = this.client.h3q(hash);
|
|
1531
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1532
|
+
var onCancel_0 = AttoNodeClientAsync$onTransaction$slambda_1(onCancel);
|
|
1533
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_2(tmp2, onCancel_0, onTransaction)));
|
|
1534
1534
|
}
|
|
1535
1535
|
m3t(publicKey, fromHeight, toHeight, onTransaction, onCancel) {
|
|
1536
|
-
var
|
|
1537
|
-
var
|
|
1538
|
-
// Inline function 'cash.atto.commons.node.
|
|
1539
|
-
var onCancel_0 = AttoNodeClientAsync$onTransaction$
|
|
1540
|
-
return toAttoJob(launch(
|
|
1536
|
+
var tmp0 = this.l3s_1;
|
|
1537
|
+
var tmp2 = this.client.i3q(publicKey, fromHeight, toHeight);
|
|
1538
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1539
|
+
var onCancel_0 = AttoNodeClientAsync$onTransaction$slambda_3(onCancel);
|
|
1540
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_4(tmp2, onCancel_0, onTransaction)));
|
|
1541
1541
|
}
|
|
1542
1542
|
onTransactionByPublicKey(publicKey, fromHeight, toHeight, onTransaction, onCancel, $super) {
|
|
1543
1543
|
fromHeight = fromHeight === VOID ? new AttoHeight(_ULong___init__impl__c78o9k(1n)) : fromHeight;
|
|
@@ -1545,11 +1545,11 @@ class AttoNodeClientAsync {
|
|
|
1545
1545
|
return $super === VOID ? this.m3t(publicKey, fromHeight, toHeight, onTransaction, onCancel) : $super.m3t.call(this, publicKey, fromHeight, toHeight, onTransaction, onCancel);
|
|
1546
1546
|
}
|
|
1547
1547
|
onTransactionByHeightSearch(heightSearch, onTransaction, onCancel) {
|
|
1548
|
-
var
|
|
1549
|
-
var
|
|
1550
|
-
// Inline function 'cash.atto.commons.node.
|
|
1551
|
-
var onCancel_0 = AttoNodeClientAsync$onTransaction$
|
|
1552
|
-
return toAttoJob(launch(
|
|
1548
|
+
var tmp0 = this.l3s_1;
|
|
1549
|
+
var tmp2 = this.client.j3q(heightSearch);
|
|
1550
|
+
// Inline function 'cash.atto.commons.node.consumeStream' call
|
|
1551
|
+
var onCancel_0 = AttoNodeClientAsync$onTransaction$slambda_5(onCancel);
|
|
1552
|
+
return toAttoJob(launch(tmp0, VOID, VOID, AttoNodeClientAsync$onTransaction$slambda_6(tmp2, onCancel_0, onTransaction)));
|
|
1553
1553
|
}
|
|
1554
1554
|
*l3q($completion) {
|
|
1555
1555
|
return yield* this.client.l3q($completion);
|
|
@@ -2220,11 +2220,11 @@ function AttoTransactionMonitorAsyncBuilder$heightProvider$slambda_0($value) {
|
|
|
2220
2220
|
return yield* await_1($value(address), $completion);
|
|
2221
2221
|
}, 1);
|
|
2222
2222
|
}
|
|
2223
|
-
function AttoNodeClientAsync$onAccount$
|
|
2224
|
-
return (it)
|
|
2223
|
+
function AttoNodeClientAsync$onAccount$slambda($onCancel) {
|
|
2224
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2225
2225
|
$onCancel(it);
|
|
2226
2226
|
return Unit_instance;
|
|
2227
|
-
};
|
|
2227
|
+
}, 1);
|
|
2228
2228
|
}
|
|
2229
2229
|
function AttoNodeClientAsync$onAccount$slambda$slambda($onAccount) {
|
|
2230
2230
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2232,23 +2232,23 @@ function AttoNodeClientAsync$onAccount$slambda$slambda($onAccount) {
|
|
|
2232
2232
|
return Unit_instance;
|
|
2233
2233
|
}, 1);
|
|
2234
2234
|
}
|
|
2235
|
-
function AttoNodeClientAsync$onAccount$
|
|
2235
|
+
function AttoNodeClientAsync$onAccount$slambda_0($stream, $onCancel, $onAccount) {
|
|
2236
2236
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2237
2237
|
var tmp;
|
|
2238
2238
|
try {
|
|
2239
2239
|
var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda($onAccount);
|
|
2240
2240
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_3(tmp_0), $completion);
|
|
2241
|
-
tmp = $onCancel(null);
|
|
2241
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2242
2242
|
} catch ($p) {
|
|
2243
2243
|
var tmp_1;
|
|
2244
2244
|
if ($p instanceof CancellationException) {
|
|
2245
2245
|
var e = $p;
|
|
2246
|
-
$onCancel(null);
|
|
2246
|
+
yield* $onCancel(null, $completion);
|
|
2247
2247
|
throw e;
|
|
2248
2248
|
} else {
|
|
2249
|
-
if ($p instanceof
|
|
2249
|
+
if ($p instanceof Error) {
|
|
2250
2250
|
var e_0 = $p;
|
|
2251
|
-
tmp_1 = $onCancel(e_0);
|
|
2251
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2252
2252
|
} else {
|
|
2253
2253
|
throw $p;
|
|
2254
2254
|
}
|
|
@@ -2258,11 +2258,11 @@ function AttoNodeClientAsync$onAccount$slambda($stream, $onCancel, $onAccount) {
|
|
|
2258
2258
|
return Unit_instance;
|
|
2259
2259
|
}, 1);
|
|
2260
2260
|
}
|
|
2261
|
-
function AttoNodeClientAsync$onAccount$
|
|
2262
|
-
return (it)
|
|
2261
|
+
function AttoNodeClientAsync$onAccount$slambda_1($onCancel) {
|
|
2262
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2263
2263
|
$onCancel(it);
|
|
2264
2264
|
return Unit_instance;
|
|
2265
|
-
};
|
|
2265
|
+
}, 1);
|
|
2266
2266
|
}
|
|
2267
2267
|
function AttoNodeClientAsync$onAccount$slambda$slambda_0($onAccount) {
|
|
2268
2268
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2270,23 +2270,23 @@ function AttoNodeClientAsync$onAccount$slambda$slambda_0($onAccount) {
|
|
|
2270
2270
|
return Unit_instance;
|
|
2271
2271
|
}, 1);
|
|
2272
2272
|
}
|
|
2273
|
-
function AttoNodeClientAsync$onAccount$
|
|
2273
|
+
function AttoNodeClientAsync$onAccount$slambda_2($stream, $onCancel, $onAccount) {
|
|
2274
2274
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2275
2275
|
var tmp;
|
|
2276
2276
|
try {
|
|
2277
2277
|
var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda_0($onAccount);
|
|
2278
2278
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_4(tmp_0), $completion);
|
|
2279
|
-
tmp = $onCancel(null);
|
|
2279
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2280
2280
|
} catch ($p) {
|
|
2281
2281
|
var tmp_1;
|
|
2282
2282
|
if ($p instanceof CancellationException) {
|
|
2283
2283
|
var e = $p;
|
|
2284
|
-
$onCancel(null);
|
|
2284
|
+
yield* $onCancel(null, $completion);
|
|
2285
2285
|
throw e;
|
|
2286
2286
|
} else {
|
|
2287
|
-
if ($p instanceof
|
|
2287
|
+
if ($p instanceof Error) {
|
|
2288
2288
|
var e_0 = $p;
|
|
2289
|
-
tmp_1 = $onCancel(e_0);
|
|
2289
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2290
2290
|
} else {
|
|
2291
2291
|
throw $p;
|
|
2292
2292
|
}
|
|
@@ -2296,11 +2296,11 @@ function AttoNodeClientAsync$onAccount$slambda_0($stream, $onCancel, $onAccount)
|
|
|
2296
2296
|
return Unit_instance;
|
|
2297
2297
|
}, 1);
|
|
2298
2298
|
}
|
|
2299
|
-
function AttoNodeClientAsync$onAccount$
|
|
2300
|
-
return (it)
|
|
2299
|
+
function AttoNodeClientAsync$onAccount$slambda_3($onCancel) {
|
|
2300
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2301
2301
|
$onCancel(it);
|
|
2302
2302
|
return Unit_instance;
|
|
2303
|
-
};
|
|
2303
|
+
}, 1);
|
|
2304
2304
|
}
|
|
2305
2305
|
function AttoNodeClientAsync$onAccount$slambda$slambda_1($onAccount) {
|
|
2306
2306
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2308,23 +2308,23 @@ function AttoNodeClientAsync$onAccount$slambda$slambda_1($onAccount) {
|
|
|
2308
2308
|
return Unit_instance;
|
|
2309
2309
|
}, 1);
|
|
2310
2310
|
}
|
|
2311
|
-
function AttoNodeClientAsync$onAccount$
|
|
2311
|
+
function AttoNodeClientAsync$onAccount$slambda_4($stream, $onCancel, $onAccount) {
|
|
2312
2312
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2313
2313
|
var tmp;
|
|
2314
2314
|
try {
|
|
2315
2315
|
var tmp_0 = AttoNodeClientAsync$onAccount$slambda$slambda_1($onAccount);
|
|
2316
2316
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_5(tmp_0), $completion);
|
|
2317
|
-
tmp = $onCancel(null);
|
|
2317
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2318
2318
|
} catch ($p) {
|
|
2319
2319
|
var tmp_1;
|
|
2320
2320
|
if ($p instanceof CancellationException) {
|
|
2321
2321
|
var e = $p;
|
|
2322
|
-
$onCancel(null);
|
|
2322
|
+
yield* $onCancel(null, $completion);
|
|
2323
2323
|
throw e;
|
|
2324
2324
|
} else {
|
|
2325
|
-
if ($p instanceof
|
|
2325
|
+
if ($p instanceof Error) {
|
|
2326
2326
|
var e_0 = $p;
|
|
2327
|
-
tmp_1 = $onCancel(e_0);
|
|
2327
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2328
2328
|
} else {
|
|
2329
2329
|
throw $p;
|
|
2330
2330
|
}
|
|
@@ -2334,11 +2334,11 @@ function AttoNodeClientAsync$onAccount$slambda_1($stream, $onCancel, $onAccount)
|
|
|
2334
2334
|
return Unit_instance;
|
|
2335
2335
|
}, 1);
|
|
2336
2336
|
}
|
|
2337
|
-
function AttoNodeClientAsync$onReceivable$
|
|
2338
|
-
return (it)
|
|
2337
|
+
function AttoNodeClientAsync$onReceivable$slambda($onCancel) {
|
|
2338
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2339
2339
|
$onCancel(it);
|
|
2340
2340
|
return Unit_instance;
|
|
2341
|
-
};
|
|
2341
|
+
}, 1);
|
|
2342
2342
|
}
|
|
2343
2343
|
function AttoNodeClientAsync$onReceivable$slambda$slambda($onReceivable) {
|
|
2344
2344
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2346,23 +2346,23 @@ function AttoNodeClientAsync$onReceivable$slambda$slambda($onReceivable) {
|
|
|
2346
2346
|
return Unit_instance;
|
|
2347
2347
|
}, 1);
|
|
2348
2348
|
}
|
|
2349
|
-
function AttoNodeClientAsync$onReceivable$
|
|
2349
|
+
function AttoNodeClientAsync$onReceivable$slambda_0($stream, $onCancel, $onReceivable) {
|
|
2350
2350
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2351
2351
|
var tmp;
|
|
2352
2352
|
try {
|
|
2353
2353
|
var tmp_0 = AttoNodeClientAsync$onReceivable$slambda$slambda($onReceivable);
|
|
2354
2354
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_6(tmp_0), $completion);
|
|
2355
|
-
tmp = $onCancel(null);
|
|
2355
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2356
2356
|
} catch ($p) {
|
|
2357
2357
|
var tmp_1;
|
|
2358
2358
|
if ($p instanceof CancellationException) {
|
|
2359
2359
|
var e = $p;
|
|
2360
|
-
$onCancel(null);
|
|
2360
|
+
yield* $onCancel(null, $completion);
|
|
2361
2361
|
throw e;
|
|
2362
2362
|
} else {
|
|
2363
|
-
if ($p instanceof
|
|
2363
|
+
if ($p instanceof Error) {
|
|
2364
2364
|
var e_0 = $p;
|
|
2365
|
-
tmp_1 = $onCancel(e_0);
|
|
2365
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2366
2366
|
} else {
|
|
2367
2367
|
throw $p;
|
|
2368
2368
|
}
|
|
@@ -2372,11 +2372,11 @@ function AttoNodeClientAsync$onReceivable$slambda($stream, $onCancel, $onReceiva
|
|
|
2372
2372
|
return Unit_instance;
|
|
2373
2373
|
}, 1);
|
|
2374
2374
|
}
|
|
2375
|
-
function AttoNodeClientAsync$onReceivable$
|
|
2376
|
-
return (it)
|
|
2375
|
+
function AttoNodeClientAsync$onReceivable$slambda_1($onCancel) {
|
|
2376
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2377
2377
|
$onCancel(it);
|
|
2378
2378
|
return Unit_instance;
|
|
2379
|
-
};
|
|
2379
|
+
}, 1);
|
|
2380
2380
|
}
|
|
2381
2381
|
function AttoNodeClientAsync$onReceivable$slambda$slambda_0($onReceivable) {
|
|
2382
2382
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2384,23 +2384,23 @@ function AttoNodeClientAsync$onReceivable$slambda$slambda_0($onReceivable) {
|
|
|
2384
2384
|
return Unit_instance;
|
|
2385
2385
|
}, 1);
|
|
2386
2386
|
}
|
|
2387
|
-
function AttoNodeClientAsync$onReceivable$
|
|
2387
|
+
function AttoNodeClientAsync$onReceivable$slambda_2($stream, $onCancel, $onReceivable) {
|
|
2388
2388
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2389
2389
|
var tmp;
|
|
2390
2390
|
try {
|
|
2391
2391
|
var tmp_0 = AttoNodeClientAsync$onReceivable$slambda$slambda_0($onReceivable);
|
|
2392
2392
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_7(tmp_0), $completion);
|
|
2393
|
-
tmp = $onCancel(null);
|
|
2393
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2394
2394
|
} catch ($p) {
|
|
2395
2395
|
var tmp_1;
|
|
2396
2396
|
if ($p instanceof CancellationException) {
|
|
2397
2397
|
var e = $p;
|
|
2398
|
-
$onCancel(null);
|
|
2398
|
+
yield* $onCancel(null, $completion);
|
|
2399
2399
|
throw e;
|
|
2400
2400
|
} else {
|
|
2401
|
-
if ($p instanceof
|
|
2401
|
+
if ($p instanceof Error) {
|
|
2402
2402
|
var e_0 = $p;
|
|
2403
|
-
tmp_1 = $onCancel(e_0);
|
|
2403
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2404
2404
|
} else {
|
|
2405
2405
|
throw $p;
|
|
2406
2406
|
}
|
|
@@ -2410,11 +2410,11 @@ function AttoNodeClientAsync$onReceivable$slambda_0($stream, $onCancel, $onRecei
|
|
|
2410
2410
|
return Unit_instance;
|
|
2411
2411
|
}, 1);
|
|
2412
2412
|
}
|
|
2413
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2414
|
-
return (it)
|
|
2413
|
+
function AttoNodeClientAsync$onAccountEntry$slambda($onCancel) {
|
|
2414
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2415
2415
|
$onCancel(it);
|
|
2416
2416
|
return Unit_instance;
|
|
2417
|
-
};
|
|
2417
|
+
}, 1);
|
|
2418
2418
|
}
|
|
2419
2419
|
function AttoNodeClientAsync$onAccountEntry$slambda$slambda($onAccountEntry) {
|
|
2420
2420
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2422,23 +2422,23 @@ function AttoNodeClientAsync$onAccountEntry$slambda$slambda($onAccountEntry) {
|
|
|
2422
2422
|
return Unit_instance;
|
|
2423
2423
|
}, 1);
|
|
2424
2424
|
}
|
|
2425
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2425
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_0($stream, $onCancel, $onAccountEntry) {
|
|
2426
2426
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2427
2427
|
var tmp;
|
|
2428
2428
|
try {
|
|
2429
2429
|
var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda($onAccountEntry);
|
|
2430
2430
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_8(tmp_0), $completion);
|
|
2431
|
-
tmp = $onCancel(null);
|
|
2431
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2432
2432
|
} catch ($p) {
|
|
2433
2433
|
var tmp_1;
|
|
2434
2434
|
if ($p instanceof CancellationException) {
|
|
2435
2435
|
var e = $p;
|
|
2436
|
-
$onCancel(null);
|
|
2436
|
+
yield* $onCancel(null, $completion);
|
|
2437
2437
|
throw e;
|
|
2438
2438
|
} else {
|
|
2439
|
-
if ($p instanceof
|
|
2439
|
+
if ($p instanceof Error) {
|
|
2440
2440
|
var e_0 = $p;
|
|
2441
|
-
tmp_1 = $onCancel(e_0);
|
|
2441
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2442
2442
|
} else {
|
|
2443
2443
|
throw $p;
|
|
2444
2444
|
}
|
|
@@ -2448,11 +2448,11 @@ function AttoNodeClientAsync$onAccountEntry$slambda($stream, $onCancel, $onAccou
|
|
|
2448
2448
|
return Unit_instance;
|
|
2449
2449
|
}, 1);
|
|
2450
2450
|
}
|
|
2451
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2452
|
-
return (it)
|
|
2451
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_1($onCancel) {
|
|
2452
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2453
2453
|
$onCancel(it);
|
|
2454
2454
|
return Unit_instance;
|
|
2455
|
-
};
|
|
2455
|
+
}, 1);
|
|
2456
2456
|
}
|
|
2457
2457
|
function AttoNodeClientAsync$onAccountEntry$slambda$slambda_0($onAccountEntry) {
|
|
2458
2458
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2460,23 +2460,23 @@ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_0($onAccountEntry) {
|
|
|
2460
2460
|
return Unit_instance;
|
|
2461
2461
|
}, 1);
|
|
2462
2462
|
}
|
|
2463
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2463
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_2($stream, $onCancel, $onAccountEntry) {
|
|
2464
2464
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2465
2465
|
var tmp;
|
|
2466
2466
|
try {
|
|
2467
2467
|
var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_0($onAccountEntry);
|
|
2468
2468
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_9(tmp_0), $completion);
|
|
2469
|
-
tmp = $onCancel(null);
|
|
2469
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2470
2470
|
} catch ($p) {
|
|
2471
2471
|
var tmp_1;
|
|
2472
2472
|
if ($p instanceof CancellationException) {
|
|
2473
2473
|
var e = $p;
|
|
2474
|
-
$onCancel(null);
|
|
2474
|
+
yield* $onCancel(null, $completion);
|
|
2475
2475
|
throw e;
|
|
2476
2476
|
} else {
|
|
2477
|
-
if ($p instanceof
|
|
2477
|
+
if ($p instanceof Error) {
|
|
2478
2478
|
var e_0 = $p;
|
|
2479
|
-
tmp_1 = $onCancel(e_0);
|
|
2479
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2480
2480
|
} else {
|
|
2481
2481
|
throw $p;
|
|
2482
2482
|
}
|
|
@@ -2486,11 +2486,11 @@ function AttoNodeClientAsync$onAccountEntry$slambda_0($stream, $onCancel, $onAcc
|
|
|
2486
2486
|
return Unit_instance;
|
|
2487
2487
|
}, 1);
|
|
2488
2488
|
}
|
|
2489
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2490
|
-
return (it)
|
|
2489
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_3($onCancel) {
|
|
2490
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2491
2491
|
$onCancel(it);
|
|
2492
2492
|
return Unit_instance;
|
|
2493
|
-
};
|
|
2493
|
+
}, 1);
|
|
2494
2494
|
}
|
|
2495
2495
|
function AttoNodeClientAsync$onAccountEntry$slambda$slambda_1($onAccountEntry) {
|
|
2496
2496
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2498,23 +2498,23 @@ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_1($onAccountEntry) {
|
|
|
2498
2498
|
return Unit_instance;
|
|
2499
2499
|
}, 1);
|
|
2500
2500
|
}
|
|
2501
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2501
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_4($stream, $onCancel, $onAccountEntry) {
|
|
2502
2502
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2503
2503
|
var tmp;
|
|
2504
2504
|
try {
|
|
2505
2505
|
var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_1($onAccountEntry);
|
|
2506
2506
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_10(tmp_0), $completion);
|
|
2507
|
-
tmp = $onCancel(null);
|
|
2507
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2508
2508
|
} catch ($p) {
|
|
2509
2509
|
var tmp_1;
|
|
2510
2510
|
if ($p instanceof CancellationException) {
|
|
2511
2511
|
var e = $p;
|
|
2512
|
-
$onCancel(null);
|
|
2512
|
+
yield* $onCancel(null, $completion);
|
|
2513
2513
|
throw e;
|
|
2514
2514
|
} else {
|
|
2515
|
-
if ($p instanceof
|
|
2515
|
+
if ($p instanceof Error) {
|
|
2516
2516
|
var e_0 = $p;
|
|
2517
|
-
tmp_1 = $onCancel(e_0);
|
|
2517
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2518
2518
|
} else {
|
|
2519
2519
|
throw $p;
|
|
2520
2520
|
}
|
|
@@ -2524,11 +2524,11 @@ function AttoNodeClientAsync$onAccountEntry$slambda_1($stream, $onCancel, $onAcc
|
|
|
2524
2524
|
return Unit_instance;
|
|
2525
2525
|
}, 1);
|
|
2526
2526
|
}
|
|
2527
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2528
|
-
return (it)
|
|
2527
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_5($onCancel) {
|
|
2528
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2529
2529
|
$onCancel(it);
|
|
2530
2530
|
return Unit_instance;
|
|
2531
|
-
};
|
|
2531
|
+
}, 1);
|
|
2532
2532
|
}
|
|
2533
2533
|
function AttoNodeClientAsync$onAccountEntry$slambda$slambda_2($onAccountEntry) {
|
|
2534
2534
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2536,23 +2536,23 @@ function AttoNodeClientAsync$onAccountEntry$slambda$slambda_2($onAccountEntry) {
|
|
|
2536
2536
|
return Unit_instance;
|
|
2537
2537
|
}, 1);
|
|
2538
2538
|
}
|
|
2539
|
-
function AttoNodeClientAsync$onAccountEntry$
|
|
2539
|
+
function AttoNodeClientAsync$onAccountEntry$slambda_6($stream, $onCancel, $onAccountEntry) {
|
|
2540
2540
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2541
2541
|
var tmp;
|
|
2542
2542
|
try {
|
|
2543
2543
|
var tmp_0 = AttoNodeClientAsync$onAccountEntry$slambda$slambda_2($onAccountEntry);
|
|
2544
2544
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_11(tmp_0), $completion);
|
|
2545
|
-
tmp = $onCancel(null);
|
|
2545
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2546
2546
|
} catch ($p) {
|
|
2547
2547
|
var tmp_1;
|
|
2548
2548
|
if ($p instanceof CancellationException) {
|
|
2549
2549
|
var e = $p;
|
|
2550
|
-
$onCancel(null);
|
|
2550
|
+
yield* $onCancel(null, $completion);
|
|
2551
2551
|
throw e;
|
|
2552
2552
|
} else {
|
|
2553
|
-
if ($p instanceof
|
|
2553
|
+
if ($p instanceof Error) {
|
|
2554
2554
|
var e_0 = $p;
|
|
2555
|
-
tmp_1 = $onCancel(e_0);
|
|
2555
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2556
2556
|
} else {
|
|
2557
2557
|
throw $p;
|
|
2558
2558
|
}
|
|
@@ -2562,11 +2562,11 @@ function AttoNodeClientAsync$onAccountEntry$slambda_2($stream, $onCancel, $onAcc
|
|
|
2562
2562
|
return Unit_instance;
|
|
2563
2563
|
}, 1);
|
|
2564
2564
|
}
|
|
2565
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2566
|
-
return (it)
|
|
2565
|
+
function AttoNodeClientAsync$onTransaction$slambda($onCancel) {
|
|
2566
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2567
2567
|
$onCancel(it);
|
|
2568
2568
|
return Unit_instance;
|
|
2569
|
-
};
|
|
2569
|
+
}, 1);
|
|
2570
2570
|
}
|
|
2571
2571
|
function AttoNodeClientAsync$onTransaction$slambda$slambda($onTransaction) {
|
|
2572
2572
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2574,23 +2574,23 @@ function AttoNodeClientAsync$onTransaction$slambda$slambda($onTransaction) {
|
|
|
2574
2574
|
return Unit_instance;
|
|
2575
2575
|
}, 1);
|
|
2576
2576
|
}
|
|
2577
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2577
|
+
function AttoNodeClientAsync$onTransaction$slambda_0($stream, $onCancel, $onTransaction) {
|
|
2578
2578
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2579
2579
|
var tmp;
|
|
2580
2580
|
try {
|
|
2581
2581
|
var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda($onTransaction);
|
|
2582
2582
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_12(tmp_0), $completion);
|
|
2583
|
-
tmp = $onCancel(null);
|
|
2583
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2584
2584
|
} catch ($p) {
|
|
2585
2585
|
var tmp_1;
|
|
2586
2586
|
if ($p instanceof CancellationException) {
|
|
2587
2587
|
var e = $p;
|
|
2588
|
-
$onCancel(null);
|
|
2588
|
+
yield* $onCancel(null, $completion);
|
|
2589
2589
|
throw e;
|
|
2590
2590
|
} else {
|
|
2591
|
-
if ($p instanceof
|
|
2591
|
+
if ($p instanceof Error) {
|
|
2592
2592
|
var e_0 = $p;
|
|
2593
|
-
tmp_1 = $onCancel(e_0);
|
|
2593
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2594
2594
|
} else {
|
|
2595
2595
|
throw $p;
|
|
2596
2596
|
}
|
|
@@ -2600,11 +2600,11 @@ function AttoNodeClientAsync$onTransaction$slambda($stream, $onCancel, $onTransa
|
|
|
2600
2600
|
return Unit_instance;
|
|
2601
2601
|
}, 1);
|
|
2602
2602
|
}
|
|
2603
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2604
|
-
return (it)
|
|
2603
|
+
function AttoNodeClientAsync$onTransaction$slambda_1($onCancel) {
|
|
2604
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2605
2605
|
$onCancel(it);
|
|
2606
2606
|
return Unit_instance;
|
|
2607
|
-
};
|
|
2607
|
+
}, 1);
|
|
2608
2608
|
}
|
|
2609
2609
|
function AttoNodeClientAsync$onTransaction$slambda$slambda_0($onTransaction) {
|
|
2610
2610
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2612,23 +2612,23 @@ function AttoNodeClientAsync$onTransaction$slambda$slambda_0($onTransaction) {
|
|
|
2612
2612
|
return Unit_instance;
|
|
2613
2613
|
}, 1);
|
|
2614
2614
|
}
|
|
2615
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2615
|
+
function AttoNodeClientAsync$onTransaction$slambda_2($stream, $onCancel, $onTransaction) {
|
|
2616
2616
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2617
2617
|
var tmp;
|
|
2618
2618
|
try {
|
|
2619
2619
|
var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_0($onTransaction);
|
|
2620
2620
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_13(tmp_0), $completion);
|
|
2621
|
-
tmp = $onCancel(null);
|
|
2621
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2622
2622
|
} catch ($p) {
|
|
2623
2623
|
var tmp_1;
|
|
2624
2624
|
if ($p instanceof CancellationException) {
|
|
2625
2625
|
var e = $p;
|
|
2626
|
-
$onCancel(null);
|
|
2626
|
+
yield* $onCancel(null, $completion);
|
|
2627
2627
|
throw e;
|
|
2628
2628
|
} else {
|
|
2629
|
-
if ($p instanceof
|
|
2629
|
+
if ($p instanceof Error) {
|
|
2630
2630
|
var e_0 = $p;
|
|
2631
|
-
tmp_1 = $onCancel(e_0);
|
|
2631
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2632
2632
|
} else {
|
|
2633
2633
|
throw $p;
|
|
2634
2634
|
}
|
|
@@ -2638,11 +2638,11 @@ function AttoNodeClientAsync$onTransaction$slambda_0($stream, $onCancel, $onTran
|
|
|
2638
2638
|
return Unit_instance;
|
|
2639
2639
|
}, 1);
|
|
2640
2640
|
}
|
|
2641
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2642
|
-
return (it)
|
|
2641
|
+
function AttoNodeClientAsync$onTransaction$slambda_3($onCancel) {
|
|
2642
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2643
2643
|
$onCancel(it);
|
|
2644
2644
|
return Unit_instance;
|
|
2645
|
-
};
|
|
2645
|
+
}, 1);
|
|
2646
2646
|
}
|
|
2647
2647
|
function AttoNodeClientAsync$onTransaction$slambda$slambda_1($onTransaction) {
|
|
2648
2648
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2650,23 +2650,23 @@ function AttoNodeClientAsync$onTransaction$slambda$slambda_1($onTransaction) {
|
|
|
2650
2650
|
return Unit_instance;
|
|
2651
2651
|
}, 1);
|
|
2652
2652
|
}
|
|
2653
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2653
|
+
function AttoNodeClientAsync$onTransaction$slambda_4($stream, $onCancel, $onTransaction) {
|
|
2654
2654
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2655
2655
|
var tmp;
|
|
2656
2656
|
try {
|
|
2657
2657
|
var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_1($onTransaction);
|
|
2658
2658
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_14(tmp_0), $completion);
|
|
2659
|
-
tmp = $onCancel(null);
|
|
2659
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2660
2660
|
} catch ($p) {
|
|
2661
2661
|
var tmp_1;
|
|
2662
2662
|
if ($p instanceof CancellationException) {
|
|
2663
2663
|
var e = $p;
|
|
2664
|
-
$onCancel(null);
|
|
2664
|
+
yield* $onCancel(null, $completion);
|
|
2665
2665
|
throw e;
|
|
2666
2666
|
} else {
|
|
2667
|
-
if ($p instanceof
|
|
2667
|
+
if ($p instanceof Error) {
|
|
2668
2668
|
var e_0 = $p;
|
|
2669
|
-
tmp_1 = $onCancel(e_0);
|
|
2669
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2670
2670
|
} else {
|
|
2671
2671
|
throw $p;
|
|
2672
2672
|
}
|
|
@@ -2676,11 +2676,11 @@ function AttoNodeClientAsync$onTransaction$slambda_1($stream, $onCancel, $onTran
|
|
|
2676
2676
|
return Unit_instance;
|
|
2677
2677
|
}, 1);
|
|
2678
2678
|
}
|
|
2679
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2680
|
-
return (it)
|
|
2679
|
+
function AttoNodeClientAsync$onTransaction$slambda_5($onCancel) {
|
|
2680
|
+
return constructCallableReference(function *(it, $completion) {
|
|
2681
2681
|
$onCancel(it);
|
|
2682
2682
|
return Unit_instance;
|
|
2683
|
-
};
|
|
2683
|
+
}, 1);
|
|
2684
2684
|
}
|
|
2685
2685
|
function AttoNodeClientAsync$onTransaction$slambda$slambda_2($onTransaction) {
|
|
2686
2686
|
return constructCallableReference(function *(it, $completion) {
|
|
@@ -2688,23 +2688,23 @@ function AttoNodeClientAsync$onTransaction$slambda$slambda_2($onTransaction) {
|
|
|
2688
2688
|
return Unit_instance;
|
|
2689
2689
|
}, 1);
|
|
2690
2690
|
}
|
|
2691
|
-
function AttoNodeClientAsync$onTransaction$
|
|
2691
|
+
function AttoNodeClientAsync$onTransaction$slambda_6($stream, $onCancel, $onTransaction) {
|
|
2692
2692
|
return constructCallableReference(function *($this$launch, $completion) {
|
|
2693
2693
|
var tmp;
|
|
2694
2694
|
try {
|
|
2695
2695
|
var tmp_0 = AttoNodeClientAsync$onTransaction$slambda$slambda_2($onTransaction);
|
|
2696
2696
|
yield* $stream.x38(new sam$kotlinx_coroutines_flow_FlowCollector$0_15(tmp_0), $completion);
|
|
2697
|
-
tmp = $onCancel(null);
|
|
2697
|
+
tmp = yield* $onCancel(null, $completion);
|
|
2698
2698
|
} catch ($p) {
|
|
2699
2699
|
var tmp_1;
|
|
2700
2700
|
if ($p instanceof CancellationException) {
|
|
2701
2701
|
var e = $p;
|
|
2702
|
-
$onCancel(null);
|
|
2702
|
+
yield* $onCancel(null, $completion);
|
|
2703
2703
|
throw e;
|
|
2704
2704
|
} else {
|
|
2705
|
-
if ($p instanceof
|
|
2705
|
+
if ($p instanceof Error) {
|
|
2706
2706
|
var e_0 = $p;
|
|
2707
|
-
tmp_1 = $onCancel(e_0);
|
|
2707
|
+
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2708
2708
|
} else {
|
|
2709
2709
|
throw $p;
|
|
2710
2710
|
}
|
|
@@ -2744,7 +2744,7 @@ function AttoAccountEntryMonitorAsync$onAccountEntry$slambda_0($stream, $onCance
|
|
|
2744
2744
|
yield* $onCancel(null, $completion);
|
|
2745
2745
|
throw e;
|
|
2746
2746
|
} else {
|
|
2747
|
-
if ($p instanceof
|
|
2747
|
+
if ($p instanceof Error) {
|
|
2748
2748
|
var e_0 = $p;
|
|
2749
2749
|
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2750
2750
|
} else {
|
|
@@ -2782,7 +2782,7 @@ function AttoAccountMonitorAsync$onAccount$slambda_0($stream, $onCancel, $onAcco
|
|
|
2782
2782
|
yield* $onCancel(null, $completion);
|
|
2783
2783
|
throw e;
|
|
2784
2784
|
} else {
|
|
2785
|
-
if ($p instanceof
|
|
2785
|
+
if ($p instanceof Error) {
|
|
2786
2786
|
var e_0 = $p;
|
|
2787
2787
|
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2788
2788
|
} else {
|
|
@@ -2820,7 +2820,7 @@ function AttoAccountMonitorAsync$onReceivable$slambda_0($stream, $onCancel, $onR
|
|
|
2820
2820
|
yield* $onCancel(null, $completion);
|
|
2821
2821
|
throw e;
|
|
2822
2822
|
} else {
|
|
2823
|
-
if ($p instanceof
|
|
2823
|
+
if ($p instanceof Error) {
|
|
2824
2824
|
var e_0 = $p;
|
|
2825
2825
|
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2826
2826
|
} else {
|
|
@@ -2859,7 +2859,7 @@ function AttoTransactionMonitorAsync$onTransaction$slambda_0($stream, $onCancel,
|
|
|
2859
2859
|
yield* $onCancel(null, $completion);
|
|
2860
2860
|
throw e;
|
|
2861
2861
|
} else {
|
|
2862
|
-
if ($p instanceof
|
|
2862
|
+
if ($p instanceof Error) {
|
|
2863
2863
|
var e_0 = $p;
|
|
2864
2864
|
tmp_1 = yield* $onCancel(e_0, $completion);
|
|
2865
2865
|
} else {
|