@attocash/commons-test 6.0.0 → 6.1.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/DateTimeFormatBuilder.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateFormat.mjs +4 -4
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalDateTimeFormat.mjs +6 -6
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/LocalTimeFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/UtcOffsetFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/format/YearMonthFormat.mjs +3 -3
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/Builder.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/internal/format/parser/Parser.mjs +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs +73 -73
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/DateTimeUnitSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalDateTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/LocalTimeSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs +16 -16
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/TimeZoneSerializers.mjs.map +1 -1
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs +5 -5
- package/Kotlin-DateTime-library-kotlinx-datetime/kotlinx/datetime/serializers/YearMonthSerializers.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs +57 -57
- package/commons-commons-core/cash/atto/commons/AttoAccount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs +65 -65
- package/commons-commons-core/cash/atto/commons/AttoAccountEntry.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAddress.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoAlgorithm.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoAmount.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs +274 -274
- package/commons-commons-core/cash/atto/commons/AttoBlock.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoBufferExtensions.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoChallenge.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoFuture.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoHash.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoHeight.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs +13 -13
- package/commons-commons-core/cash/atto/commons/AttoInstant.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoMnemonic.mjs +2 -2
- package/commons-commons-core/cash/atto/commons/AttoPrivateKey.mjs +1 -1
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoPublicKey.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs +53 -53
- package/commons-commons-core/cash/atto/commons/AttoReceivable.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoSeed.js.mjs +3 -3
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoSignature.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs +27 -27
- package/commons-commons-core/cash/atto/commons/AttoTransaction.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs +7 -7
- package/commons-commons-core/cash/atto/commons/AttoVersion.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs +41 -41
- package/commons-commons-core/cash/atto/commons/AttoVote.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs +6 -6
- package/commons-commons-core/cash/atto/commons/AttoWork.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs +5 -5
- package/commons-commons-core/cash/atto/commons/AttoWorkTarget.mjs.map +1 -1
- package/commons-commons-core/cash/atto/commons/Extensions.mjs +2 -2
- package/commons-commons-node/cash/atto/commons/node/AttoNodeClientAsync.mjs +66 -66
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs +85 -85
- package/commons-commons-node/cash/atto/commons/node/AttoNodeOperations.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs +52 -25
- package/commons-commons-node/cash/atto/commons/node/NodeExtensions.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountEntryMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitor.mjs +5 -5
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoAccountMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoHeightMonitor.mjs +13 -13
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs +9 -9
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsync.mjs.map +1 -1
- package/commons-commons-node/cash/atto/commons/node/monitor/AttoTransactionMonitorAsyncBuilder.web.mjs +1 -1
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs +389 -642
- package/commons-commons-node-remote/cash/atto/commons/node/AttoNodeClientRemote.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMock.mjs.map +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoNodeMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.js.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsync.mjs +1 -1
- package/commons-commons-test/cash/atto/commons/node/AttoWorkerMockAsyncBuilder.js.mjs +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerAsync.mjs +2 -2
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs +18 -18
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCache.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs +9 -9
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerCpu.mjs.map +1 -1
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs +40 -40
- package/commons-commons-worker/cash/atto/commons/worker/AttoWorkerOperations.mjs.map +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerAsyncBuilder.web.mjs +1 -1
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs +31 -25
- package/commons-commons-worker-remote/cash/atto/commons/worker/AttoWorkerRemote.mjs.map +1 -1
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs +6 -6
- package/kotlin-kotlin-stdlib/kotlin/text/stringJs.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs +5 -5
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.common.mjs.map +1 -1
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs +8 -8
- package/kotlinx-atomicfu/kotlinx/atomicfu/AtomicFU.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs +25 -25
- package/kotlinx-coroutines-core/kotlinx/coroutines/AbstractCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/Builders.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs +7 -7
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs +168 -168
- package/kotlinx-coroutines-core/kotlinx/coroutines/CancellableContinuationImpl.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletableDeferred.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/CompletionState.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineContext.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineExceptionHandler.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineName.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineScope.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/CoroutineStart.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/Delay.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs +42 -42
- package/kotlinx-coroutines-core/kotlinx/coroutines/DispatchedTask.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs +18 -18
- package/kotlinx-coroutines-core/kotlinx/coroutines/Dispatchers.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs +27 -27
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/EventLoop.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Exceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs +92 -92
- package/kotlinx-coroutines-core/kotlinx/coroutines/JSDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs +14 -14
- package/kotlinx-coroutines-core/kotlinx/coroutines/Job.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs +315 -315
- package/kotlinx-coroutines-core/kotlinx/coroutines/JobSupport.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/MainCoroutineDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/Promise.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Supervisor.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/Unconfined.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs +435 -435
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/BufferedChannel.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channel.mjs +30 -30
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs +19 -19
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ChannelCoroutine.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Channels.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/ConflatedBufferedChannel.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs +13 -13
- package/kotlinx-coroutines-core/kotlinx/coroutines/channels/Produce.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Builders.mjs +12 -12
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Channels.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Collect.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Emitters.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Flow.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Reduce.mjs +16 -16
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/Share.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/SharedFlow.mjs +45 -45
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs +48 -48
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/StateFlow.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/AbstractSharedFlow.mjs +24 -24
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/ChannelFlow.mjs +56 -56
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.common.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/FlowExceptions.mjs +6 -6
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs +33 -33
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/Merge.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs +4 -4
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SafeCollector.mjs +8 -8
- package/kotlinx-coroutines-core/kotlinx/coroutines/flow/internal/SendingCollector.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Concurrent.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs +46 -46
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ConcurrentLinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.common.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/CoroutineExceptionHandlerImpl.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs +71 -71
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/DispatchedContinuation.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs +37 -37
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LimitedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs +23 -23
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LinkedList.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/LockFreeTaskQueue.mjs +72 -72
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs +10 -10
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/NamedDispatcher.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/OnUndeliveredElement.mjs +3 -3
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs +11 -11
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Scopes.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/Symbol.mjs +2 -2
- package/kotlinx-coroutines-core/kotlinx/coroutines/internal/ThreadLocal.mjs +5 -5
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Cancellable.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs +9 -9
- package/kotlinx-coroutines-core/kotlinx/coroutines/intrinsics/Undispatched.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs +15 -15
- package/kotlinx-coroutines-core/kotlinx/coroutines/selects/Select.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs +50 -50
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Mutex.mjs.map +1 -1
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs +61 -61
- package/kotlinx-coroutines-core/kotlinx/coroutines/sync/Semaphore.mjs.map +1 -1
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/ByteString.mjs +34 -34
- package/kotlinx-io-kotlinx-io-bytestring/kotlinx/io/bytestring/unsafe/UnsafeByteStringOperations.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/-PlatformJs.mjs +11 -11
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffer.mjs +187 -187
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Buffers.mjs +10 -10
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/ByteStrings.mjs +1 -1
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/PeekSource.mjs +20 -20
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/RealSource.mjs +53 -53
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Segment.mjs +149 -149
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/SegmentPool.mjs +6 -6
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sink.mjs +2 -2
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sinks.mjs +3 -3
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Sources.mjs +15 -15
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/Utf8.mjs +58 -58
- package/kotlinx-io-kotlinx-io-core/kotlinx/io/unsafe/UnsafeBufferOperations.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/PolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SealedSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializationExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/Serializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersCache.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/SerializersJs.mjs +4 -4
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/builtins/BuiltinSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/ContextAware.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/descriptors/SerialDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs +55 -55
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs +65 -65
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/AbstractEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Decoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/encoding/Encoding.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs +26 -26
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/AbstractPolymorphicSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs +38 -38
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/BuiltInSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs +56 -56
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionDescriptors.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs +231 -231
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/CollectionSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs +22 -22
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs +33 -33
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Enums.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/InlineClassDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NoOpEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NothingSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs +43 -43
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/NullableSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs +19 -19
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ObjectSerializer.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs +5 -5
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.common.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Platform.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs +70 -70
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PluginGeneratedSerialDescriptor.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs +444 -444
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/PrimitiveArraysSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs +114 -114
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Primitives.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs +106 -106
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tagged.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs +90 -90
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/Tuples.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs +48 -48
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/internal/ValueClasses.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs +30 -30
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModule.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-core/kotlinx/serialization/modules/SerializersModuleCollector.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs +44 -44
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/Json.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonConfiguration.mjs +18 -18
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs +69 -69
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElement.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs +151 -151
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonElementSerializers.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/JsonSchemaCache.mjs +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/AbstractJsonLexer.mjs +178 -178
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/CommentLexers.mjs +25 -25
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Composers.mjs +71 -71
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonElementMarker.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs +14 -14
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonExceptions.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs +20 -20
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonNamesMap.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs +39 -39
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonPath.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs +16 -16
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonSerializersModuleValidator.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs +2 -2
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonStreams.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonToStringWriterJsWasm.mjs +12 -12
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/JsonTreeReader.mjs +61 -61
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs +6 -6
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/Polymorphic.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/SchemaCache.mjs +8 -8
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs +176 -176
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs +139 -139
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StreamingJsonEncoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/StringJsonLexer.mjs +51 -51
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs +214 -214
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/TreeJsonDecoder.mjs.map +1 -1
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs +9 -9
- package/kotlinx-serialization-kotlinx-serialization-json/kotlinx/serialization/json/internal/WriteMode.mjs.map +1 -1
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/ContentNegotiation.mjs +70 -70
- package/ktor-ktor-client-content-negotiation/io/ktor/client/plugins/contentnegotiation/JsonContentTypeMatcher.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs +71 -71
- package/ktor-ktor-client-core/io/ktor/client/HttpClient.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/HttpClientConfig.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/JsRequestUtils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs +43 -43
- package/ktor-ktor-client-core/io/ktor/client/call/DelegatedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/call/HttpClientCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/call/SavedCall.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/call/utils.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/content/ObservableContent.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs +49 -49
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineBase.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/HttpClientEngineConfig.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/engine/Loader.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/engine/Utils.mjs +20 -20
- package/ktor-ktor-client-core/io/ktor/client/engine/js/Js.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsClientEngine.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/engine/js/JsUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/engine/js/browser/BrowserFetch.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs +6 -6
- package/ktor-ktor-client-core/io/ktor/client/engine/js/compatibility/Utils.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs +36 -36
- package/ktor-ktor-client-core/io/ktor/client/plugins/BodyProgress.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultResponseValidation.mjs +32 -32
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs +66 -66
- package/ktor-ktor-client-core/io/ktor/client/plugins/DefaultTransform.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpCallValidator.mjs +75 -75
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpClientPlugin.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpPlainText.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRedirect.mjs +33 -33
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs +28 -28
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestLifecycle.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs +108 -108
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpRequestRetry.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpSend.mjs +52 -52
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs +82 -82
- package/ktor-ktor-client-core/io/ktor/client/plugins/HttpTimeout.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/SaveBody.mjs +23 -23
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientHook.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginBuilder.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/ClientPluginInstance.mjs +11 -11
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs +26 -26
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CommonHooks.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/CreatePluginUtils.mjs +13 -13
- package/ktor-ktor-client-core/io/ktor/client/plugins/api/KtorCallContexts.mjs +34 -34
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/plugins/sse/ClientSSESession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs +48 -48
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/JsWebSocketSession.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/plugins/websocket/WebSockets.mjs +4 -4
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/DefaultHttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs +56 -56
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequest.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/request/HttpRequestPipeline.mjs +18 -18
- package/ktor-ktor-client-core/io/ktor/client/request/utils.mjs +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/DefaultHttpResponse.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponse.mjs +9 -9
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpResponsePipeline.mjs +25 -25
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs +22 -22
- package/ktor-ktor-client-core/io/ktor/client/statement/HttpStatement.mjs.map +1 -1
- package/ktor-ktor-client-core/io/ktor/client/utils/ByteChannelUtils.mjs +16 -16
- package/ktor-ktor-client-core/io/ktor/client/utils/ClientEvents.mjs +2 -2
- package/ktor-ktor-client-core/io/ktor/client/utils/Content.mjs +3 -3
- package/ktor-ktor-client-core/io/ktor/client/utils/HeadersUtils.mjs +5 -5
- package/ktor-ktor-client-core/io/ktor/client/utils/headers.mjs +1 -1
- package/ktor-ktor-events/io/ktor/events/Events.mjs +6 -6
- package/ktor-ktor-http/io/ktor/http/Codecs.mjs +12 -12
- package/ktor-ktor-http/io/ktor/http/ContentTypes.mjs +89 -89
- package/ktor-ktor-http/io/ktor/http/HeaderValueWithParameters.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/Headers.mjs +18 -18
- package/ktor-ktor-http/io/ktor/http/HttpHeaderValueParser.mjs +31 -31
- package/ktor-ktor-http/io/ktor/http/HttpHeaders.mjs +115 -115
- package/ktor-ktor-http/io/ktor/http/HttpMessageProperties.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/HttpMethod.mjs +13 -13
- package/ktor-ktor-http/io/ktor/http/HttpProtocolVersion.mjs +16 -16
- package/ktor-ktor-http/io/ktor/http/HttpStatusCode.mjs +66 -66
- package/ktor-ktor-http/io/ktor/http/Parameters.mjs +11 -11
- package/ktor-ktor-http/io/ktor/http/Query.mjs +4 -4
- package/ktor-ktor-http/io/ktor/http/URLBuilder.mjs +59 -59
- package/ktor-ktor-http/io/ktor/http/URLBuilderJs.mjs +1 -1
- package/ktor-ktor-http/io/ktor/http/URLParser.mjs +34 -34
- package/ktor-ktor-http/io/ktor/http/URLProtocol.mjs +20 -20
- package/ktor-ktor-http/io/ktor/http/URLUtils.mjs +15 -15
- package/ktor-ktor-http/io/ktor/http/Url.mjs +68 -68
- package/ktor-ktor-http/io/ktor/http/Url.mjs.map +1 -1
- package/ktor-ktor-http/io/ktor/http/UrlDecodedParametersBuilder.mjs +25 -25
- package/ktor-ktor-http/io/ktor/http/content/ByteArrayContent.mjs +9 -9
- package/ktor-ktor-http/io/ktor/http/content/OutgoingContent.mjs +8 -8
- package/ktor-ktor-http/io/ktor/http/content/TextContent.mjs +12 -12
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs +5 -5
- package/ktor-ktor-http-cio/io/ktor/http/cio/CIOMultipartDataBase.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpHeadersMap.mjs +88 -88
- package/ktor-ktor-http-cio/io/ktor/http/cio/HttpParser.mjs +33 -33
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs +50 -50
- package/ktor-ktor-http-cio/io/ktor/http/cio/Multipart.mjs.map +1 -1
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/AsciiCharTree.mjs +10 -10
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayBuilder.mjs +70 -70
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/CharArrayPool.mjs +2 -2
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Chars.mjs +4 -4
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/Errors.mjs +3 -3
- package/ktor-ktor-http-cio/io/ktor/http/cio/internals/MutableRange.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs +126 -126
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannel.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelCtor.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/ByteChannelScanner.mjs +53 -53
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannel.mjs +13 -13
- package/ktor-ktor-io/io/ktor/utils/io/ByteReadChannelOperations.mjs +60 -60
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannel.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs +32 -32
- package/ktor-ktor-io/io/ktor/utils/io/ByteWriteChannelOperations.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs +11 -11
- package/ktor-ktor-io/io/ktor/utils/io/CloseToken.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/CountedByteReadChannel.mjs +23 -23
- package/ktor-ktor-io/io/ktor/utils/io/Exceptions.mjs +12 -12
- package/ktor-ktor-io/io/ktor/utils/io/IODispatcher.jsAndWasmShared.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/LineEndingMode.mjs +15 -15
- package/ktor-ktor-io/io/ktor/utils/io/SourceByteReadChannel.mjs +18 -18
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Charset.js.mjs +36 -36
- package/ktor-ktor-io/io/ktor/utils/io/charsets/Encoding.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/charsets/ISO88591.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoder.js.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/charsets/TextDecoderFallback.js.mjs +5 -5
- package/ktor-ktor-io/io/ktor/utils/io/core/Buffer.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/BytePacketBuilder.mjs +2 -2
- package/ktor-ktor-io/io/ktor/utils/io/core/ByteReadPacket.mjs +4 -4
- package/ktor-ktor-io/io/ktor/utils/io/core/Input.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/core/Strings.mjs +10 -10
- package/ktor-ktor-io/io/ktor/utils/io/pool/ByteArrayPool.mjs +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs +28 -28
- package/ktor-ktor-io/io/ktor/utils/io/pool/DefaultPool.mjs.map +1 -1
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs +3 -3
- package/ktor-ktor-io/io/ktor/utils/io/pool/Pool.mjs.map +1 -1
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConvertException.mjs +5 -5
- package/ktor-ktor-serialization/io/ktor/serialization/ContentConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs +36 -36
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/KotlinxSerializationConverter.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs +8 -8
- package/ktor-ktor-serialization-kotlinx/io/ktor/serialization/kotlinx/SerializerLookup.mjs.map +1 -1
- package/ktor-ktor-serialization-kotlinx-json/io/ktor/serialization/kotlinx/json/JsonSupport.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/Attributes.mjs +11 -11
- package/ktor-ktor-utils/io/ktor/util/AttributesJs.mjs +15 -15
- package/ktor-ktor-utils/io/ktor/util/CaseInsensitiveMap.mjs +36 -36
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/CoroutinesUtils.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/DelegatingMutableSet.mjs +34 -34
- package/ktor-ktor-utils/io/ktor/util/PlatformUtils.mjs +16 -16
- package/ktor-ktor-utils/io/ktor/util/StringValues.mjs +79 -79
- package/ktor-ktor-utils/io/ktor/util/Text.mjs +7 -7
- package/ktor-ktor-utils/io/ktor/util/collections/CopyOnWriteHashMap.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs +106 -106
- package/ktor-ktor-utils/io/ktor/util/date/Date.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/date/DateJs.mjs +5 -5
- package/ktor-ktor-utils/io/ktor/util/internal/LockFreeLinkedList.mjs +8 -8
- package/ktor-ktor-utils/io/ktor/util/logging/KtorSimpleLoggerJs.mjs +10 -10
- package/ktor-ktor-utils/io/ktor/util/logging/LoggerJs.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs +29 -29
- package/ktor-ktor-utils/io/ktor/util/pipeline/DebugPipelineContext.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PhaseContent.mjs +25 -25
- package/ktor-ktor-utils/io/ktor/util/pipeline/Pipeline.mjs +53 -53
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelineContext.mjs +1 -1
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhase.mjs +3 -3
- package/ktor-ktor-utils/io/ktor/util/pipeline/PipelinePhaseRelation.mjs +2 -2
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs +50 -50
- package/ktor-ktor-utils/io/ktor/util/pipeline/SuspendFunctionGun.mjs.map +1 -1
- package/ktor-ktor-utils/io/ktor/util/reflect/Type.mjs +9 -9
- package/ktor-ktor-websockets/io/ktor/websocket/CloseReason.mjs +16 -16
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameCommon.mjs.map +1 -1
- package/ktor-ktor-websockets/io/ktor/websocket/FrameJs.mjs +31 -31
- package/ktor-ktor-websockets/io/ktor/websocket/FrameType.mjs +8 -8
- package/package.json +1 -1
|
@@ -110,25 +110,25 @@ var JobNodeClass;
|
|
|
110
110
|
function JobNode() {
|
|
111
111
|
if (JobNodeClass === VOID) {
|
|
112
112
|
class $ extends LockFreeLinkedListNode() {
|
|
113
|
-
|
|
114
|
-
var tmp = this.
|
|
113
|
+
q1v() {
|
|
114
|
+
var tmp = this.p1v_1;
|
|
115
115
|
if (!(tmp == null))
|
|
116
116
|
return tmp;
|
|
117
117
|
else {
|
|
118
118
|
throwUninitializedPropertyAccessException('job');
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
|
-
|
|
121
|
+
u1p() {
|
|
122
122
|
return true;
|
|
123
123
|
}
|
|
124
|
-
|
|
124
|
+
r1v() {
|
|
125
125
|
return null;
|
|
126
126
|
}
|
|
127
|
-
|
|
128
|
-
return this.
|
|
127
|
+
a1t() {
|
|
128
|
+
return this.q1v().b1r(this);
|
|
129
129
|
}
|
|
130
130
|
toString() {
|
|
131
|
-
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '[job@' + get_hexAddress(this.
|
|
131
|
+
return get_classSimpleName(this) + '@' + get_hexAddress(this) + '[job@' + get_hexAddress(this.q1v()) + ']';
|
|
132
132
|
}
|
|
133
133
|
}
|
|
134
134
|
initMetadataForClass($, 'JobNode', VOID, VOID, [LockFreeLinkedListNode(), Incomplete()]);
|
|
@@ -139,14 +139,14 @@ function JobNode() {
|
|
|
139
139
|
function unboxState(_this__u8e3s4) {
|
|
140
140
|
_init_properties_JobSupport_kt__68f172();
|
|
141
141
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof IncompleteStateBox() ? _this__u8e3s4 : null;
|
|
142
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
142
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.k1x_1;
|
|
143
143
|
return tmp1_elvis_lhs == null ? _this__u8e3s4 : tmp1_elvis_lhs;
|
|
144
144
|
}
|
|
145
145
|
function _set_exceptionsHolder__tqm22h($this, value) {
|
|
146
|
-
$this.
|
|
146
|
+
$this.o1x_1.kotlinx$atomicfu$value = value;
|
|
147
147
|
}
|
|
148
148
|
function _get_exceptionsHolder__nhszp($this) {
|
|
149
|
-
return $this.
|
|
149
|
+
return $this.o1x_1.kotlinx$atomicfu$value;
|
|
150
150
|
}
|
|
151
151
|
function allocateList($this) {
|
|
152
152
|
return ArrayList().u(4);
|
|
@@ -156,12 +156,12 @@ function finalizeFinishingState($this, state, proposedUpdate) {
|
|
|
156
156
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
157
157
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
158
158
|
var tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally() ? proposedUpdate : null;
|
|
159
|
-
var proposedException = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
159
|
+
var proposedException = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1p_1;
|
|
160
160
|
var wasCancelling;
|
|
161
161
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
162
162
|
// Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
|
|
163
|
-
wasCancelling = state.
|
|
164
|
-
var exceptions = state.
|
|
163
|
+
wasCancelling = state.p1x();
|
|
164
|
+
var exceptions = state.q1x(proposedException);
|
|
165
165
|
var finalCause = getFinalRootCause($this, state, exceptions);
|
|
166
166
|
if (!(finalCause == null)) {
|
|
167
167
|
addSuppressedExceptions($this, finalCause, exceptions);
|
|
@@ -169,25 +169,25 @@ function finalizeFinishingState($this, state, proposedUpdate) {
|
|
|
169
169
|
var finalException = finalCause;
|
|
170
170
|
var finalState = finalException == null ? proposedUpdate : finalException === proposedException ? proposedUpdate : new (CompletedExceptionally())(finalException);
|
|
171
171
|
if (!(finalException == null)) {
|
|
172
|
-
var handled = cancelParent($this, finalException) || $this.
|
|
172
|
+
var handled = cancelParent($this, finalException) || $this.q1r(finalException);
|
|
173
173
|
if (handled) {
|
|
174
|
-
(finalState instanceof CompletedExceptionally() ? finalState : THROW_CCE()).
|
|
174
|
+
(finalState instanceof CompletedExceptionally() ? finalState : THROW_CCE()).e1u();
|
|
175
175
|
}
|
|
176
176
|
}
|
|
177
177
|
if (!wasCancelling) {
|
|
178
|
-
$this.
|
|
178
|
+
$this.n1r(finalException);
|
|
179
179
|
}
|
|
180
|
-
$this.
|
|
181
|
-
var casSuccess = $this.
|
|
180
|
+
$this.y1p(finalState);
|
|
181
|
+
var casSuccess = $this.n1p_1.atomicfu$compareAndSet(state, boxIncomplete(finalState));
|
|
182
182
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
183
183
|
completeStateFinalization($this, state, finalState);
|
|
184
184
|
return finalState;
|
|
185
185
|
}
|
|
186
186
|
function getFinalRootCause($this, state, exceptions) {
|
|
187
187
|
if (exceptions.o()) {
|
|
188
|
-
if (state.
|
|
188
|
+
if (state.p1x()) {
|
|
189
189
|
// Inline function 'kotlinx.coroutines.JobSupport.defaultCancellationException' call
|
|
190
|
-
return JobCancellationException().
|
|
190
|
+
return JobCancellationException().x1x(null == null ? $this.x1p() : null, null, $this);
|
|
191
191
|
}
|
|
192
192
|
return null;
|
|
193
193
|
}
|
|
@@ -263,37 +263,37 @@ function addSuppressedExceptions($this, rootCause, exceptions) {
|
|
|
263
263
|
function tryFinalizeSimpleState($this, state, update) {
|
|
264
264
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
265
265
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
266
|
-
if (!$this.
|
|
266
|
+
if (!$this.n1p_1.atomicfu$compareAndSet(state, boxIncomplete(update)))
|
|
267
267
|
return false;
|
|
268
|
-
$this.
|
|
269
|
-
$this.
|
|
268
|
+
$this.n1r(null);
|
|
269
|
+
$this.y1p(update);
|
|
270
270
|
completeStateFinalization($this, state, update);
|
|
271
271
|
return true;
|
|
272
272
|
}
|
|
273
273
|
function completeStateFinalization($this, state, update) {
|
|
274
|
-
var tmp0_safe_receiver = $this.
|
|
274
|
+
var tmp0_safe_receiver = $this.m1q();
|
|
275
275
|
if (tmp0_safe_receiver == null)
|
|
276
276
|
null;
|
|
277
277
|
else {
|
|
278
278
|
// Inline function 'kotlin.let' call
|
|
279
|
-
tmp0_safe_receiver.
|
|
280
|
-
$this.
|
|
279
|
+
tmp0_safe_receiver.a1t();
|
|
280
|
+
$this.l1q(NonDisposableHandle_instance);
|
|
281
281
|
}
|
|
282
282
|
var tmp1_safe_receiver = update instanceof CompletedExceptionally() ? update : null;
|
|
283
|
-
var cause = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.
|
|
283
|
+
var cause = tmp1_safe_receiver == null ? null : tmp1_safe_receiver.z1p_1;
|
|
284
284
|
if (state instanceof JobNode()) {
|
|
285
285
|
try {
|
|
286
|
-
state.
|
|
286
|
+
state.z1s(cause);
|
|
287
287
|
} catch ($p) {
|
|
288
288
|
if ($p instanceof Error) {
|
|
289
289
|
var ex = $p;
|
|
290
|
-
$this.
|
|
290
|
+
$this.f1q(CompletionHandlerException().v1t('Exception in completion handler ' + state.toString() + ' for ' + $this.toString(), ex));
|
|
291
291
|
} else {
|
|
292
292
|
throw $p;
|
|
293
293
|
}
|
|
294
294
|
}
|
|
295
295
|
} else {
|
|
296
|
-
var tmp2_safe_receiver = state.
|
|
296
|
+
var tmp2_safe_receiver = state.r1v();
|
|
297
297
|
if (tmp2_safe_receiver == null)
|
|
298
298
|
null;
|
|
299
299
|
else {
|
|
@@ -302,23 +302,23 @@ function completeStateFinalization($this, state, update) {
|
|
|
302
302
|
}
|
|
303
303
|
}
|
|
304
304
|
function notifyCancelling($this, list, cause) {
|
|
305
|
-
$this.
|
|
306
|
-
list.
|
|
305
|
+
$this.n1r(cause);
|
|
306
|
+
list.y1x(4);
|
|
307
307
|
// Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers' call
|
|
308
308
|
var exception = null;
|
|
309
309
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
|
|
310
|
-
var cur = list.
|
|
310
|
+
var cur = list.s1v_1;
|
|
311
311
|
while (!equals(cur, list)) {
|
|
312
312
|
var node = cur;
|
|
313
313
|
var tmp;
|
|
314
314
|
if (node instanceof JobNode()) {
|
|
315
|
-
tmp = node.
|
|
315
|
+
tmp = node.l1v();
|
|
316
316
|
} else {
|
|
317
317
|
tmp = false;
|
|
318
318
|
}
|
|
319
319
|
if (tmp) {
|
|
320
320
|
try {
|
|
321
|
-
node.
|
|
321
|
+
node.z1s(cause);
|
|
322
322
|
} catch ($p) {
|
|
323
323
|
if ($p instanceof Error) {
|
|
324
324
|
var ex = $p;
|
|
@@ -333,40 +333,40 @@ function notifyCancelling($this, list, cause) {
|
|
|
333
333
|
}
|
|
334
334
|
if (tmp_0 == null) {
|
|
335
335
|
// Inline function 'kotlin.run' call
|
|
336
|
-
exception = CompletionHandlerException().
|
|
336
|
+
exception = CompletionHandlerException().v1t('Exception in completion handler ' + node.toString() + ' for ' + $this.toString(), ex);
|
|
337
337
|
}
|
|
338
338
|
} else {
|
|
339
339
|
throw $p;
|
|
340
340
|
}
|
|
341
341
|
}
|
|
342
342
|
}
|
|
343
|
-
cur = cur.
|
|
343
|
+
cur = cur.s1v_1;
|
|
344
344
|
}
|
|
345
345
|
var tmp0_safe_receiver_0 = exception;
|
|
346
346
|
if (tmp0_safe_receiver_0 == null)
|
|
347
347
|
null;
|
|
348
348
|
else {
|
|
349
349
|
// Inline function 'kotlin.let' call
|
|
350
|
-
$this.
|
|
350
|
+
$this.f1q(tmp0_safe_receiver_0);
|
|
351
351
|
}
|
|
352
352
|
cancelParent($this, cause);
|
|
353
353
|
}
|
|
354
354
|
function cancelParent($this, cause) {
|
|
355
|
-
if ($this.
|
|
355
|
+
if ($this.o1r())
|
|
356
356
|
return true;
|
|
357
357
|
var isCancellation = cause instanceof CancellationException();
|
|
358
|
-
var parent = $this.
|
|
358
|
+
var parent = $this.m1q();
|
|
359
359
|
if (parent === null || parent === NonDisposableHandle_instance) {
|
|
360
360
|
return isCancellation;
|
|
361
361
|
}
|
|
362
|
-
return parent.
|
|
362
|
+
return parent.h1r(cause) || isCancellation;
|
|
363
363
|
}
|
|
364
364
|
function notifyCompletion($this, _this__u8e3s4, cause) {
|
|
365
|
-
_this__u8e3s4.
|
|
365
|
+
_this__u8e3s4.y1x(1);
|
|
366
366
|
// Inline function 'kotlinx.coroutines.JobSupport.notifyHandlers' call
|
|
367
367
|
var exception = null;
|
|
368
368
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
|
|
369
|
-
var cur = _this__u8e3s4.
|
|
369
|
+
var cur = _this__u8e3s4.s1v_1;
|
|
370
370
|
while (!equals(cur, _this__u8e3s4)) {
|
|
371
371
|
var node = cur;
|
|
372
372
|
var tmp;
|
|
@@ -377,7 +377,7 @@ function notifyCompletion($this, _this__u8e3s4, cause) {
|
|
|
377
377
|
}
|
|
378
378
|
if (tmp) {
|
|
379
379
|
try {
|
|
380
|
-
node.
|
|
380
|
+
node.z1s(cause);
|
|
381
381
|
} catch ($p) {
|
|
382
382
|
if ($p instanceof Error) {
|
|
383
383
|
var ex = $p;
|
|
@@ -392,36 +392,36 @@ function notifyCompletion($this, _this__u8e3s4, cause) {
|
|
|
392
392
|
}
|
|
393
393
|
if (tmp_0 == null) {
|
|
394
394
|
// Inline function 'kotlin.run' call
|
|
395
|
-
exception = CompletionHandlerException().
|
|
395
|
+
exception = CompletionHandlerException().v1t('Exception in completion handler ' + node.toString() + ' for ' + $this.toString(), ex);
|
|
396
396
|
}
|
|
397
397
|
} else {
|
|
398
398
|
throw $p;
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
}
|
|
402
|
-
cur = cur.
|
|
402
|
+
cur = cur.s1v_1;
|
|
403
403
|
}
|
|
404
404
|
var tmp0_safe_receiver_0 = exception;
|
|
405
405
|
if (tmp0_safe_receiver_0 == null)
|
|
406
406
|
null;
|
|
407
407
|
else {
|
|
408
408
|
// Inline function 'kotlin.let' call
|
|
409
|
-
$this.
|
|
409
|
+
$this.f1q(tmp0_safe_receiver_0);
|
|
410
410
|
}
|
|
411
411
|
}
|
|
412
412
|
function startInternal($this, state) {
|
|
413
413
|
if (state instanceof Empty()) {
|
|
414
|
-
if (state.
|
|
414
|
+
if (state.a1y_1)
|
|
415
415
|
return 0;
|
|
416
|
-
if (!$this.
|
|
416
|
+
if (!$this.n1p_1.atomicfu$compareAndSet(state, get_EMPTY_ACTIVE()))
|
|
417
417
|
return -1;
|
|
418
|
-
$this.
|
|
418
|
+
$this.s1q();
|
|
419
419
|
return 1;
|
|
420
420
|
} else {
|
|
421
421
|
if (state instanceof InactiveNodeList()) {
|
|
422
|
-
if (!$this.
|
|
422
|
+
if (!$this.n1p_1.atomicfu$compareAndSet(state, state.z1x_1))
|
|
423
423
|
return -1;
|
|
424
|
-
$this.
|
|
424
|
+
$this.s1q();
|
|
425
425
|
return 1;
|
|
426
426
|
} else {
|
|
427
427
|
return 0;
|
|
@@ -430,19 +430,19 @@ function startInternal($this, state) {
|
|
|
430
430
|
}
|
|
431
431
|
function promoteEmptyToNodeList($this, state) {
|
|
432
432
|
var list = new (NodeList())();
|
|
433
|
-
var update = state.
|
|
434
|
-
$this.
|
|
433
|
+
var update = state.a1y_1 ? list : new (InactiveNodeList())(list);
|
|
434
|
+
$this.n1p_1.atomicfu$compareAndSet(state, update);
|
|
435
435
|
}
|
|
436
436
|
function promoteSingleToNodeList($this, state) {
|
|
437
|
-
state.
|
|
437
|
+
state.x1v(new (NodeList())());
|
|
438
438
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.nextNode' call
|
|
439
|
-
var list = state.
|
|
440
|
-
$this.
|
|
439
|
+
var list = state.s1v_1;
|
|
440
|
+
$this.n1p_1.atomicfu$compareAndSet(state, list);
|
|
441
441
|
}
|
|
442
442
|
function joinInternal($this) {
|
|
443
443
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
444
444
|
while (true) {
|
|
445
|
-
var state = $this.
|
|
445
|
+
var state = $this.o1q();
|
|
446
446
|
if (!(!(state == null) ? isInterface(state, Incomplete()) : false))
|
|
447
447
|
return false;
|
|
448
448
|
if (startInternal($this, state) >= 0)
|
|
@@ -451,21 +451,21 @@ function joinInternal($this) {
|
|
|
451
451
|
}
|
|
452
452
|
function joinSuspend($this, $completion) {
|
|
453
453
|
var cancellable = new (CancellableContinuationImpl())(intercepted($completion), 1);
|
|
454
|
-
cancellable.
|
|
454
|
+
cancellable.h1u();
|
|
455
455
|
disposeOnCancellation(cancellable, invokeOnCompletion($this, VOID, new (ResumeOnCompletion())(cancellable)));
|
|
456
|
-
return cancellable.
|
|
456
|
+
return cancellable.p1u();
|
|
457
457
|
}
|
|
458
458
|
function cancelMakeCompleting($this, cause) {
|
|
459
459
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
460
460
|
while (true) {
|
|
461
|
-
var state = $this.
|
|
461
|
+
var state = $this.o1q();
|
|
462
462
|
var tmp;
|
|
463
463
|
if (!(!(state == null) ? isInterface(state, Incomplete()) : false)) {
|
|
464
464
|
tmp = true;
|
|
465
465
|
} else {
|
|
466
466
|
var tmp_0;
|
|
467
467
|
if (state instanceof Finishing()) {
|
|
468
|
-
tmp_0 = state.
|
|
468
|
+
tmp_0 = state.b1y();
|
|
469
469
|
} else {
|
|
470
470
|
tmp_0 = false;
|
|
471
471
|
}
|
|
@@ -486,13 +486,13 @@ function createCauseException($this, cause) {
|
|
|
486
486
|
var tmp_0;
|
|
487
487
|
if (cause == null) {
|
|
488
488
|
// Inline function 'kotlinx.coroutines.JobSupport.defaultCancellationException' call
|
|
489
|
-
tmp_0 = JobCancellationException().
|
|
489
|
+
tmp_0 = JobCancellationException().x1x(null == null ? $this.x1p() : null, null, $this);
|
|
490
490
|
} else {
|
|
491
491
|
tmp_0 = cause;
|
|
492
492
|
}
|
|
493
493
|
tmp = tmp_0;
|
|
494
494
|
} else {
|
|
495
|
-
tmp = ((!(cause == null) ? isInterface(cause, ParentJob()) : false) ? cause : THROW_CCE()).
|
|
495
|
+
tmp = ((!(cause == null) ? isInterface(cause, ParentJob()) : false) ? cause : THROW_CCE()).k1r();
|
|
496
496
|
}
|
|
497
497
|
return tmp;
|
|
498
498
|
}
|
|
@@ -500,14 +500,14 @@ function makeCancelling($this, cause) {
|
|
|
500
500
|
var causeExceptionCache = null;
|
|
501
501
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
502
502
|
while (true) {
|
|
503
|
-
var tmp0 = $this.
|
|
503
|
+
var tmp0 = $this.o1q();
|
|
504
504
|
$l$block: {
|
|
505
505
|
if (tmp0 instanceof Finishing()) {
|
|
506
506
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
507
507
|
// Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
|
|
508
|
-
if (tmp0.
|
|
508
|
+
if (tmp0.c1y())
|
|
509
509
|
return get_TOO_LATE_TO_CANCEL();
|
|
510
|
-
var wasCancelling = tmp0.
|
|
510
|
+
var wasCancelling = tmp0.p1x();
|
|
511
511
|
if (!(cause == null) || !wasCancelling) {
|
|
512
512
|
var tmp0_elvis_lhs = causeExceptionCache;
|
|
513
513
|
var tmp;
|
|
@@ -520,10 +520,10 @@ function makeCancelling($this, cause) {
|
|
|
520
520
|
tmp = tmp0_elvis_lhs;
|
|
521
521
|
}
|
|
522
522
|
var causeException = tmp;
|
|
523
|
-
tmp0.
|
|
523
|
+
tmp0.d1y(causeException);
|
|
524
524
|
}
|
|
525
525
|
// Inline function 'kotlin.takeIf' call
|
|
526
|
-
var this_1 = tmp0.
|
|
526
|
+
var this_1 = tmp0.e1y();
|
|
527
527
|
var tmp_0;
|
|
528
528
|
if (!wasCancelling) {
|
|
529
529
|
tmp_0 = this_1;
|
|
@@ -535,7 +535,7 @@ function makeCancelling($this, cause) {
|
|
|
535
535
|
null;
|
|
536
536
|
else {
|
|
537
537
|
// Inline function 'kotlin.let' call
|
|
538
|
-
notifyCancelling($this, tmp0.
|
|
538
|
+
notifyCancelling($this, tmp0.l1x_1, notifyRootCause);
|
|
539
539
|
}
|
|
540
540
|
return get_COMPLETING_ALREADY();
|
|
541
541
|
} else {
|
|
@@ -551,7 +551,7 @@ function makeCancelling($this, cause) {
|
|
|
551
551
|
tmp_1 = tmp2_elvis_lhs;
|
|
552
552
|
}
|
|
553
553
|
var causeException_0 = tmp_1;
|
|
554
|
-
if (tmp0.
|
|
554
|
+
if (tmp0.u1p()) {
|
|
555
555
|
if (tryMakeCancelling($this, tmp0, causeException_0))
|
|
556
556
|
return get_COMPLETING_ALREADY();
|
|
557
557
|
} else {
|
|
@@ -573,7 +573,7 @@ function makeCancelling($this, cause) {
|
|
|
573
573
|
}
|
|
574
574
|
}
|
|
575
575
|
function getOrPromoteCancellingList($this, state) {
|
|
576
|
-
var tmp0_elvis_lhs = state.
|
|
576
|
+
var tmp0_elvis_lhs = state.r1v();
|
|
577
577
|
var tmp;
|
|
578
578
|
if (tmp0_elvis_lhs == null) {
|
|
579
579
|
var tmp_0;
|
|
@@ -606,7 +606,7 @@ function tryMakeCancelling($this, state, rootCause) {
|
|
|
606
606
|
}
|
|
607
607
|
var list = tmp;
|
|
608
608
|
var cancelling = new (Finishing())(list, false, rootCause);
|
|
609
|
-
if (!$this.
|
|
609
|
+
if (!$this.n1p_1.atomicfu$compareAndSet(state, cancelling))
|
|
610
610
|
return false;
|
|
611
611
|
notifyCancelling($this, list, rootCause);
|
|
612
612
|
return true;
|
|
@@ -654,24 +654,24 @@ function tryMakeCompletingSlowPath($this, state, proposedUpdate) {
|
|
|
654
654
|
var notifyRootCause;
|
|
655
655
|
// Inline function 'kotlinx.coroutines.internal.synchronized' call
|
|
656
656
|
// Inline function 'kotlinx.coroutines.internal.synchronizedImpl' call
|
|
657
|
-
if (finishing.
|
|
657
|
+
if (finishing.b1y())
|
|
658
658
|
return get_COMPLETING_ALREADY();
|
|
659
|
-
finishing.
|
|
659
|
+
finishing.f1y(true);
|
|
660
660
|
if (!(finishing === state)) {
|
|
661
|
-
if (!$this.
|
|
661
|
+
if (!$this.n1p_1.atomicfu$compareAndSet(state, finishing))
|
|
662
662
|
return get_COMPLETING_RETRY();
|
|
663
663
|
}
|
|
664
664
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
665
|
-
var wasCancelling = finishing.
|
|
665
|
+
var wasCancelling = finishing.p1x();
|
|
666
666
|
var tmp0_safe_receiver = proposedUpdate instanceof CompletedExceptionally() ? proposedUpdate : null;
|
|
667
667
|
if (tmp0_safe_receiver == null)
|
|
668
668
|
null;
|
|
669
669
|
else {
|
|
670
670
|
// Inline function 'kotlin.let' call
|
|
671
|
-
finishing.
|
|
671
|
+
finishing.d1y(tmp0_safe_receiver.z1p_1);
|
|
672
672
|
}
|
|
673
673
|
// Inline function 'kotlin.takeIf' call
|
|
674
|
-
var this_0 = finishing.
|
|
674
|
+
var this_0 = finishing.e1y();
|
|
675
675
|
var tmp_0;
|
|
676
676
|
if (!wasCancelling) {
|
|
677
677
|
tmp_0 = this_0;
|
|
@@ -688,7 +688,7 @@ function tryMakeCompletingSlowPath($this, state, proposedUpdate) {
|
|
|
688
688
|
var child = nextChild($this, list);
|
|
689
689
|
if (!(child == null) && tryWaitForChild($this, finishing, child, proposedUpdate))
|
|
690
690
|
return get_COMPLETING_WAITING_CHILDREN();
|
|
691
|
-
list.
|
|
691
|
+
list.y1x(2);
|
|
692
692
|
var anotherChild = nextChild($this, list);
|
|
693
693
|
if (!(anotherChild == null) && tryWaitForChild($this, finishing, anotherChild, proposedUpdate))
|
|
694
694
|
return get_COMPLETING_WAITING_CHILDREN();
|
|
@@ -696,7 +696,7 @@ function tryMakeCompletingSlowPath($this, state, proposedUpdate) {
|
|
|
696
696
|
}
|
|
697
697
|
function _get_exceptionOrNull__b3j7js($this, _this__u8e3s4) {
|
|
698
698
|
var tmp0_safe_receiver = _this__u8e3s4 instanceof CompletedExceptionally() ? _this__u8e3s4 : null;
|
|
699
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
699
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1p_1;
|
|
700
700
|
}
|
|
701
701
|
function tryWaitForChild($this, state, child, proposedUpdate) {
|
|
702
702
|
var $this_0 = $this;
|
|
@@ -705,7 +705,7 @@ function tryWaitForChild($this, state, child, proposedUpdate) {
|
|
|
705
705
|
var proposedUpdate_0 = proposedUpdate;
|
|
706
706
|
$l$1: do {
|
|
707
707
|
$l$0: do {
|
|
708
|
-
var handle = invokeOnCompletion(child_0.
|
|
708
|
+
var handle = invokeOnCompletion(child_0.k1y_1, false, new (ChildCompletion())($this_0, state_0, child_0, proposedUpdate_0));
|
|
709
709
|
if (!(handle === NonDisposableHandle_instance))
|
|
710
710
|
return true;
|
|
711
711
|
var tmp0_elvis_lhs = nextChild($this_0, child_0);
|
|
@@ -734,29 +734,29 @@ function continueCompleting($this, state, lastChild, proposedUpdate) {
|
|
|
734
734
|
var waitChild = nextChild($this, lastChild);
|
|
735
735
|
if (!(waitChild == null) && tryWaitForChild($this, state, waitChild, proposedUpdate))
|
|
736
736
|
return Unit_instance;
|
|
737
|
-
state.
|
|
737
|
+
state.l1x_1.y1x(2);
|
|
738
738
|
var waitChildAgain = nextChild($this, lastChild);
|
|
739
739
|
if (!(waitChildAgain == null) && tryWaitForChild($this, state, waitChildAgain, proposedUpdate)) {
|
|
740
740
|
return Unit_instance;
|
|
741
741
|
}
|
|
742
742
|
var finalState = finalizeFinishingState($this, state, proposedUpdate);
|
|
743
|
-
$this.
|
|
743
|
+
$this.e1q(finalState);
|
|
744
744
|
}
|
|
745
745
|
function nextChild($this, _this__u8e3s4) {
|
|
746
746
|
var cur = _this__u8e3s4;
|
|
747
747
|
$l$loop: while (true) {
|
|
748
748
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.isRemoved' call
|
|
749
|
-
if (!cur.
|
|
749
|
+
if (!cur.u1v_1) {
|
|
750
750
|
break $l$loop;
|
|
751
751
|
}
|
|
752
752
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.prevNode' call
|
|
753
|
-
cur = cur.
|
|
753
|
+
cur = cur.t1v_1;
|
|
754
754
|
}
|
|
755
755
|
$l$loop_0: while (true) {
|
|
756
756
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.nextNode' call
|
|
757
|
-
cur = cur.
|
|
757
|
+
cur = cur.s1v_1;
|
|
758
758
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListNode.isRemoved' call
|
|
759
|
-
if (cur.
|
|
759
|
+
if (cur.u1v_1)
|
|
760
760
|
continue $l$loop_0;
|
|
761
761
|
if (cur instanceof ChildHandleNode())
|
|
762
762
|
return cur;
|
|
@@ -767,10 +767,10 @@ function nextChild($this, _this__u8e3s4) {
|
|
|
767
767
|
function stateString($this, state) {
|
|
768
768
|
var tmp;
|
|
769
769
|
if (state instanceof Finishing()) {
|
|
770
|
-
tmp = state.
|
|
770
|
+
tmp = state.p1x() ? 'Cancelling' : state.b1y() ? 'Completing' : 'Active';
|
|
771
771
|
} else {
|
|
772
772
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
773
|
-
tmp = state.
|
|
773
|
+
tmp = state.u1p() ? 'Active' : 'New';
|
|
774
774
|
} else {
|
|
775
775
|
if (state instanceof CompletedExceptionally()) {
|
|
776
776
|
tmp = 'Cancelled';
|
|
@@ -787,36 +787,36 @@ function Finishing() {
|
|
|
787
787
|
class $ extends SynchronizedObject() {
|
|
788
788
|
constructor(list, isCompleting, rootCause) {
|
|
789
789
|
super();
|
|
790
|
-
this.
|
|
791
|
-
this.
|
|
792
|
-
this.
|
|
793
|
-
this.
|
|
790
|
+
this.l1x_1 = list;
|
|
791
|
+
this.m1x_1 = atomic$boolean$1(isCompleting);
|
|
792
|
+
this.n1x_1 = atomic$ref$1(rootCause);
|
|
793
|
+
this.o1x_1 = atomic$ref$1(null);
|
|
794
794
|
}
|
|
795
|
-
|
|
796
|
-
return this.
|
|
795
|
+
r1v() {
|
|
796
|
+
return this.l1x_1;
|
|
797
797
|
}
|
|
798
|
-
|
|
799
|
-
this.
|
|
798
|
+
f1y(value) {
|
|
799
|
+
this.m1x_1.kotlinx$atomicfu$value = value;
|
|
800
800
|
}
|
|
801
|
-
|
|
802
|
-
return this.
|
|
801
|
+
b1y() {
|
|
802
|
+
return this.m1x_1.kotlinx$atomicfu$value;
|
|
803
803
|
}
|
|
804
|
-
|
|
805
|
-
this.
|
|
804
|
+
l1y(value) {
|
|
805
|
+
this.n1x_1.kotlinx$atomicfu$value = value;
|
|
806
806
|
}
|
|
807
|
-
|
|
808
|
-
return this.
|
|
807
|
+
e1y() {
|
|
808
|
+
return this.n1x_1.kotlinx$atomicfu$value;
|
|
809
809
|
}
|
|
810
|
-
|
|
810
|
+
c1y() {
|
|
811
811
|
return _get_exceptionsHolder__nhszp(this) === get_SEALED();
|
|
812
812
|
}
|
|
813
|
-
|
|
814
|
-
return !(this.
|
|
813
|
+
p1x() {
|
|
814
|
+
return !(this.e1y() == null);
|
|
815
815
|
}
|
|
816
|
-
|
|
817
|
-
return this.
|
|
816
|
+
u1p() {
|
|
817
|
+
return this.e1y() == null;
|
|
818
818
|
}
|
|
819
|
-
|
|
819
|
+
q1x(proposedException) {
|
|
820
820
|
var eh = _get_exceptionsHolder__nhszp(this);
|
|
821
821
|
var tmp;
|
|
822
822
|
if (eh == null) {
|
|
@@ -837,7 +837,7 @@ function Finishing() {
|
|
|
837
837
|
}
|
|
838
838
|
}
|
|
839
839
|
var list = tmp;
|
|
840
|
-
var rootCause = this.
|
|
840
|
+
var rootCause = this.e1y();
|
|
841
841
|
if (rootCause == null)
|
|
842
842
|
null;
|
|
843
843
|
else {
|
|
@@ -850,10 +850,10 @@ function Finishing() {
|
|
|
850
850
|
_set_exceptionsHolder__tqm22h(this, get_SEALED());
|
|
851
851
|
return list;
|
|
852
852
|
}
|
|
853
|
-
|
|
854
|
-
var rootCause = this.
|
|
853
|
+
d1y(exception) {
|
|
854
|
+
var rootCause = this.e1y();
|
|
855
855
|
if (rootCause == null) {
|
|
856
|
-
this.
|
|
856
|
+
this.l1y(exception);
|
|
857
857
|
return Unit_instance;
|
|
858
858
|
}
|
|
859
859
|
if (exception === rootCause)
|
|
@@ -882,7 +882,7 @@ function Finishing() {
|
|
|
882
882
|
}
|
|
883
883
|
}
|
|
884
884
|
toString() {
|
|
885
|
-
return 'Finishing[cancelling=' + this.
|
|
885
|
+
return 'Finishing[cancelling=' + this.p1x() + ', completing=' + this.b1y() + ', rootCause=' + toString_0(this.e1y()) + ', exceptions=' + toString_0(_get_exceptionsHolder__nhszp(this)) + ', list=' + this.l1x_1.toString() + ']';
|
|
886
886
|
}
|
|
887
887
|
}
|
|
888
888
|
initMetadataForClass($, 'Finishing', VOID, VOID, [SynchronizedObject(), Incomplete()]);
|
|
@@ -896,16 +896,16 @@ function ChildCompletion() {
|
|
|
896
896
|
class $ extends JobNode() {
|
|
897
897
|
constructor(parent, state, child, proposedUpdate) {
|
|
898
898
|
super();
|
|
899
|
-
this.
|
|
900
|
-
this.
|
|
901
|
-
this.
|
|
902
|
-
this.
|
|
899
|
+
this.q1y_1 = parent;
|
|
900
|
+
this.r1y_1 = state;
|
|
901
|
+
this.s1y_1 = child;
|
|
902
|
+
this.t1y_1 = proposedUpdate;
|
|
903
903
|
}
|
|
904
|
-
|
|
904
|
+
l1v() {
|
|
905
905
|
return false;
|
|
906
906
|
}
|
|
907
|
-
|
|
908
|
-
continueCompleting(this.
|
|
907
|
+
z1s(cause) {
|
|
908
|
+
continueCompleting(this.q1y_1, this.r1y_1, this.s1y_1, this.t1y_1);
|
|
909
909
|
}
|
|
910
910
|
}
|
|
911
911
|
initMetadataForClass($, 'ChildCompletion');
|
|
@@ -919,12 +919,12 @@ function AwaitContinuation() {
|
|
|
919
919
|
class $ extends CancellableContinuationImpl() {
|
|
920
920
|
constructor(delegate, job) {
|
|
921
921
|
super(delegate, 1);
|
|
922
|
-
this.
|
|
922
|
+
this.a1z_1 = job;
|
|
923
923
|
}
|
|
924
|
-
|
|
925
|
-
var state = this.
|
|
924
|
+
o1u(parent) {
|
|
925
|
+
var state = this.a1z_1.o1q();
|
|
926
926
|
if (state instanceof Finishing()) {
|
|
927
|
-
var tmp0_safe_receiver = state.
|
|
927
|
+
var tmp0_safe_receiver = state.e1y();
|
|
928
928
|
if (tmp0_safe_receiver == null)
|
|
929
929
|
null;
|
|
930
930
|
else {
|
|
@@ -933,10 +933,10 @@ function AwaitContinuation() {
|
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
if (state instanceof CompletedExceptionally())
|
|
936
|
-
return state.
|
|
937
|
-
return parent.
|
|
936
|
+
return state.z1p_1;
|
|
937
|
+
return parent.t1q();
|
|
938
938
|
}
|
|
939
|
-
|
|
939
|
+
c1v() {
|
|
940
940
|
return 'AwaitContinuation';
|
|
941
941
|
}
|
|
942
942
|
}
|
|
@@ -947,71 +947,71 @@ function AwaitContinuation() {
|
|
|
947
947
|
}
|
|
948
948
|
function awaitSuspend($this, $completion) {
|
|
949
949
|
var cont = new (AwaitContinuation())(intercepted($completion), $this);
|
|
950
|
-
cont.
|
|
950
|
+
cont.h1u();
|
|
951
951
|
disposeOnCancellation(cont, invokeOnCompletion($this, VOID, new (ResumeAwaitOnCompletion())(cont)));
|
|
952
|
-
return cont.
|
|
952
|
+
return cont.p1u();
|
|
953
953
|
}
|
|
954
954
|
var JobSupportClass;
|
|
955
955
|
function JobSupport() {
|
|
956
956
|
if (JobSupportClass === VOID) {
|
|
957
957
|
class $ {
|
|
958
958
|
constructor(active) {
|
|
959
|
-
this.
|
|
960
|
-
this.
|
|
959
|
+
this.n1p_1 = atomic$ref$1(active ? get_EMPTY_ACTIVE() : get_EMPTY_NEW());
|
|
960
|
+
this.o1p_1 = atomic$ref$1(null);
|
|
961
961
|
}
|
|
962
962
|
y1() {
|
|
963
963
|
return Key_instance;
|
|
964
964
|
}
|
|
965
|
-
|
|
966
|
-
this.
|
|
965
|
+
l1q(value) {
|
|
966
|
+
this.o1p_1.kotlinx$atomicfu$value = value;
|
|
967
967
|
}
|
|
968
|
-
|
|
969
|
-
return this.
|
|
968
|
+
m1q() {
|
|
969
|
+
return this.o1p_1.kotlinx$atomicfu$value;
|
|
970
970
|
}
|
|
971
|
-
|
|
972
|
-
var tmp0_safe_receiver = this.
|
|
973
|
-
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
971
|
+
n1q() {
|
|
972
|
+
var tmp0_safe_receiver = this.m1q();
|
|
973
|
+
return tmp0_safe_receiver == null ? null : tmp0_safe_receiver.n1q();
|
|
974
974
|
}
|
|
975
|
-
|
|
975
|
+
p1p(parent) {
|
|
976
976
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
977
977
|
if (parent == null) {
|
|
978
|
-
this.
|
|
978
|
+
this.l1q(NonDisposableHandle_instance);
|
|
979
979
|
return Unit_instance;
|
|
980
980
|
}
|
|
981
|
-
parent.
|
|
982
|
-
var handle = parent.
|
|
983
|
-
this.
|
|
984
|
-
if (this.
|
|
985
|
-
handle.
|
|
986
|
-
this.
|
|
981
|
+
parent.r1q();
|
|
982
|
+
var handle = parent.m1r(this);
|
|
983
|
+
this.l1q(handle);
|
|
984
|
+
if (this.p1q()) {
|
|
985
|
+
handle.a1t();
|
|
986
|
+
this.l1q(NonDisposableHandle_instance);
|
|
987
987
|
}
|
|
988
988
|
}
|
|
989
|
-
|
|
990
|
-
return this.
|
|
989
|
+
o1q() {
|
|
990
|
+
return this.n1p_1.kotlinx$atomicfu$value;
|
|
991
991
|
}
|
|
992
|
-
|
|
993
|
-
var state = this.
|
|
992
|
+
u1p() {
|
|
993
|
+
var state = this.o1q();
|
|
994
994
|
var tmp;
|
|
995
995
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
996
|
-
tmp = state.
|
|
996
|
+
tmp = state.u1p();
|
|
997
997
|
} else {
|
|
998
998
|
tmp = false;
|
|
999
999
|
}
|
|
1000
1000
|
return tmp;
|
|
1001
1001
|
}
|
|
1002
|
-
|
|
1003
|
-
var tmp = this.
|
|
1002
|
+
p1q() {
|
|
1003
|
+
var tmp = this.o1q();
|
|
1004
1004
|
return !(!(tmp == null) ? isInterface(tmp, Incomplete()) : false);
|
|
1005
1005
|
}
|
|
1006
|
-
|
|
1007
|
-
var state = this.
|
|
1006
|
+
q1q() {
|
|
1007
|
+
var state = this.o1q();
|
|
1008
1008
|
var tmp;
|
|
1009
1009
|
if (state instanceof CompletedExceptionally()) {
|
|
1010
1010
|
tmp = true;
|
|
1011
1011
|
} else {
|
|
1012
1012
|
var tmp_0;
|
|
1013
1013
|
if (state instanceof Finishing()) {
|
|
1014
|
-
tmp_0 = state.
|
|
1014
|
+
tmp_0 = state.p1x();
|
|
1015
1015
|
} else {
|
|
1016
1016
|
tmp_0 = false;
|
|
1017
1017
|
}
|
|
@@ -1019,10 +1019,10 @@ function JobSupport() {
|
|
|
1019
1019
|
}
|
|
1020
1020
|
return tmp;
|
|
1021
1021
|
}
|
|
1022
|
-
|
|
1022
|
+
r1q() {
|
|
1023
1023
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1024
1024
|
while (true) {
|
|
1025
|
-
var state = this.
|
|
1025
|
+
var state = this.o1q();
|
|
1026
1026
|
var tmp0_subject = startInternal(this, state);
|
|
1027
1027
|
if (tmp0_subject === 0)
|
|
1028
1028
|
return false;
|
|
@@ -1030,14 +1030,14 @@ function JobSupport() {
|
|
|
1030
1030
|
return true;
|
|
1031
1031
|
}
|
|
1032
1032
|
}
|
|
1033
|
-
|
|
1033
|
+
s1q() {
|
|
1034
1034
|
}
|
|
1035
|
-
|
|
1036
|
-
var state = this.
|
|
1035
|
+
t1q() {
|
|
1036
|
+
var state = this.o1q();
|
|
1037
1037
|
var tmp;
|
|
1038
1038
|
if (state instanceof Finishing()) {
|
|
1039
|
-
var tmp0_safe_receiver = state.
|
|
1040
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.
|
|
1039
|
+
var tmp0_safe_receiver = state.e1y();
|
|
1040
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : this.u1q(tmp0_safe_receiver, get_classSimpleName(this) + ' is cancelling');
|
|
1041
1041
|
var tmp_0;
|
|
1042
1042
|
if (tmp1_elvis_lhs == null) {
|
|
1043
1043
|
var message = 'Job is still new or active: ' + this.toString();
|
|
@@ -1052,52 +1052,52 @@ function JobSupport() {
|
|
|
1052
1052
|
throw IllegalStateException().w4(toString(message_0));
|
|
1053
1053
|
} else {
|
|
1054
1054
|
if (state instanceof CompletedExceptionally()) {
|
|
1055
|
-
tmp = this.
|
|
1055
|
+
tmp = this.v1q(state.z1p_1);
|
|
1056
1056
|
} else {
|
|
1057
|
-
tmp = JobCancellationException().
|
|
1057
|
+
tmp = JobCancellationException().x1x(get_classSimpleName(this) + ' has completed normally', null, this);
|
|
1058
1058
|
}
|
|
1059
1059
|
}
|
|
1060
1060
|
}
|
|
1061
1061
|
return tmp;
|
|
1062
1062
|
}
|
|
1063
|
-
|
|
1063
|
+
u1q(_this__u8e3s4, message) {
|
|
1064
1064
|
var tmp0_elvis_lhs = _this__u8e3s4 instanceof CancellationException() ? _this__u8e3s4 : null;
|
|
1065
1065
|
var tmp;
|
|
1066
1066
|
if (tmp0_elvis_lhs == null) {
|
|
1067
1067
|
// Inline function 'kotlinx.coroutines.JobSupport.defaultCancellationException' call
|
|
1068
|
-
tmp = JobCancellationException().
|
|
1068
|
+
tmp = JobCancellationException().x1x(message == null ? this.x1p() : message, _this__u8e3s4, this);
|
|
1069
1069
|
} else {
|
|
1070
1070
|
tmp = tmp0_elvis_lhs;
|
|
1071
1071
|
}
|
|
1072
1072
|
return tmp;
|
|
1073
1073
|
}
|
|
1074
|
-
|
|
1074
|
+
v1q(_this__u8e3s4, message, $super) {
|
|
1075
1075
|
message = message === VOID ? null : message;
|
|
1076
|
-
return $super === VOID ? this.
|
|
1076
|
+
return $super === VOID ? this.u1q(_this__u8e3s4, message) : $super.u1q.call(this, _this__u8e3s4, message);
|
|
1077
1077
|
}
|
|
1078
|
-
|
|
1079
|
-
return this.
|
|
1078
|
+
w1q(handler) {
|
|
1079
|
+
return this.z1q(true, new (InvokeOnCompletion())(handler));
|
|
1080
1080
|
}
|
|
1081
|
-
|
|
1081
|
+
x1q(onCancelling, invokeImmediately, handler) {
|
|
1082
1082
|
var tmp;
|
|
1083
1083
|
if (onCancelling) {
|
|
1084
1084
|
tmp = new (InvokeOnCancelling())(handler);
|
|
1085
1085
|
} else {
|
|
1086
1086
|
tmp = new (InvokeOnCompletion())(handler);
|
|
1087
1087
|
}
|
|
1088
|
-
return this.
|
|
1088
|
+
return this.z1q(invokeImmediately, tmp);
|
|
1089
1089
|
}
|
|
1090
|
-
|
|
1091
|
-
node.
|
|
1090
|
+
z1q(invokeImmediately, node) {
|
|
1091
|
+
node.p1v_1 = this;
|
|
1092
1092
|
var tmp$ret$0;
|
|
1093
1093
|
$l$block_1: {
|
|
1094
1094
|
// Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList' call
|
|
1095
1095
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1096
1096
|
while (true) {
|
|
1097
|
-
var state = this.
|
|
1097
|
+
var state = this.o1q();
|
|
1098
1098
|
if (state instanceof Empty()) {
|
|
1099
|
-
if (state.
|
|
1100
|
-
if (this.
|
|
1099
|
+
if (state.a1y_1) {
|
|
1100
|
+
if (this.n1p_1.atomicfu$compareAndSet(state, node)) {
|
|
1101
1101
|
tmp$ret$0 = true;
|
|
1102
1102
|
break $l$block_1;
|
|
1103
1103
|
}
|
|
@@ -1106,26 +1106,26 @@ function JobSupport() {
|
|
|
1106
1106
|
}
|
|
1107
1107
|
} else {
|
|
1108
1108
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
1109
|
-
var list = state.
|
|
1109
|
+
var list = state.r1v();
|
|
1110
1110
|
if (list == null) {
|
|
1111
1111
|
promoteSingleToNodeList(this, state instanceof JobNode() ? state : THROW_CCE());
|
|
1112
1112
|
} else {
|
|
1113
1113
|
var tmp;
|
|
1114
|
-
if (node.
|
|
1114
|
+
if (node.l1v()) {
|
|
1115
1115
|
var tmp0_safe_receiver = state instanceof Finishing() ? state : null;
|
|
1116
|
-
var rootCause = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1116
|
+
var rootCause = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.e1y();
|
|
1117
1117
|
var tmp_0;
|
|
1118
1118
|
if (rootCause == null) {
|
|
1119
|
-
tmp_0 = list.
|
|
1119
|
+
tmp_0 = list.v1v(node, 5);
|
|
1120
1120
|
} else {
|
|
1121
1121
|
if (invokeImmediately) {
|
|
1122
|
-
node.
|
|
1122
|
+
node.z1s(rootCause);
|
|
1123
1123
|
}
|
|
1124
1124
|
return NonDisposableHandle_instance;
|
|
1125
1125
|
}
|
|
1126
1126
|
tmp = tmp_0;
|
|
1127
1127
|
} else {
|
|
1128
|
-
tmp = list.
|
|
1128
|
+
tmp = list.v1v(node, 1);
|
|
1129
1129
|
}
|
|
1130
1130
|
if (tmp) {
|
|
1131
1131
|
tmp$ret$0 = true;
|
|
@@ -1143,13 +1143,13 @@ function JobSupport() {
|
|
|
1143
1143
|
if (added)
|
|
1144
1144
|
return node;
|
|
1145
1145
|
else if (invokeImmediately) {
|
|
1146
|
-
var tmp_1 = this.
|
|
1146
|
+
var tmp_1 = this.o1q();
|
|
1147
1147
|
var tmp0_safe_receiver_0 = tmp_1 instanceof CompletedExceptionally() ? tmp_1 : null;
|
|
1148
|
-
node.
|
|
1148
|
+
node.z1s(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.z1p_1);
|
|
1149
1149
|
}
|
|
1150
1150
|
return NonDisposableHandle_instance;
|
|
1151
1151
|
}
|
|
1152
|
-
|
|
1152
|
+
a1r($completion) {
|
|
1153
1153
|
if (!joinInternal(this)) {
|
|
1154
1154
|
// Inline function 'kotlin.js.getCoroutineContext' call
|
|
1155
1155
|
var tmp$ret$0 = $completion.tb();
|
|
@@ -1158,19 +1158,19 @@ function JobSupport() {
|
|
|
1158
1158
|
}
|
|
1159
1159
|
return joinSuspend(this, $completion);
|
|
1160
1160
|
}
|
|
1161
|
-
|
|
1161
|
+
b1r(node) {
|
|
1162
1162
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1163
1163
|
while (true) {
|
|
1164
|
-
var state = this.
|
|
1164
|
+
var state = this.o1q();
|
|
1165
1165
|
if (state instanceof JobNode()) {
|
|
1166
1166
|
if (!(state === node))
|
|
1167
1167
|
return Unit_instance;
|
|
1168
|
-
if (this.
|
|
1168
|
+
if (this.n1p_1.atomicfu$compareAndSet(state, get_EMPTY_ACTIVE()))
|
|
1169
1169
|
return Unit_instance;
|
|
1170
1170
|
} else {
|
|
1171
1171
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
1172
|
-
if (!(state.
|
|
1173
|
-
node.
|
|
1172
|
+
if (!(state.r1v() == null)) {
|
|
1173
|
+
node.w1v();
|
|
1174
1174
|
}
|
|
1175
1175
|
return Unit_instance;
|
|
1176
1176
|
} else {
|
|
@@ -1179,39 +1179,39 @@ function JobSupport() {
|
|
|
1179
1179
|
}
|
|
1180
1180
|
}
|
|
1181
1181
|
}
|
|
1182
|
-
|
|
1182
|
+
c1r() {
|
|
1183
1183
|
return false;
|
|
1184
1184
|
}
|
|
1185
|
-
|
|
1185
|
+
d1r(cause) {
|
|
1186
1186
|
var tmp;
|
|
1187
1187
|
if (cause == null) {
|
|
1188
1188
|
// Inline function 'kotlinx.coroutines.JobSupport.defaultCancellationException' call
|
|
1189
|
-
tmp = JobCancellationException().
|
|
1189
|
+
tmp = JobCancellationException().x1x(null == null ? this.x1p() : null, null, this);
|
|
1190
1190
|
} else {
|
|
1191
1191
|
tmp = cause;
|
|
1192
1192
|
}
|
|
1193
|
-
this.
|
|
1193
|
+
this.f1r(tmp);
|
|
1194
1194
|
}
|
|
1195
|
-
|
|
1195
|
+
x1p() {
|
|
1196
1196
|
return 'Job was cancelled';
|
|
1197
1197
|
}
|
|
1198
|
-
|
|
1199
|
-
this.
|
|
1198
|
+
f1r(cause) {
|
|
1199
|
+
this.j1r(cause);
|
|
1200
1200
|
}
|
|
1201
|
-
|
|
1202
|
-
this.
|
|
1201
|
+
g1r(parentJob) {
|
|
1202
|
+
this.j1r(parentJob);
|
|
1203
1203
|
}
|
|
1204
|
-
|
|
1204
|
+
h1r(cause) {
|
|
1205
1205
|
if (cause instanceof CancellationException())
|
|
1206
1206
|
return true;
|
|
1207
|
-
return this.
|
|
1207
|
+
return this.j1r(cause) && this.p1r();
|
|
1208
1208
|
}
|
|
1209
|
-
|
|
1210
|
-
return this.
|
|
1209
|
+
i1r(cause) {
|
|
1210
|
+
return this.j1r(cause);
|
|
1211
1211
|
}
|
|
1212
|
-
|
|
1212
|
+
j1r(cause) {
|
|
1213
1213
|
var finalState = get_COMPLETING_ALREADY();
|
|
1214
|
-
if (this.
|
|
1214
|
+
if (this.c1r()) {
|
|
1215
1215
|
finalState = cancelMakeCompleting(this, cause);
|
|
1216
1216
|
if (finalState === get_COMPLETING_WAITING_CHILDREN())
|
|
1217
1217
|
return true;
|
|
@@ -1227,19 +1227,19 @@ function JobSupport() {
|
|
|
1227
1227
|
} else if (finalState === get_TOO_LATE_TO_CANCEL()) {
|
|
1228
1228
|
tmp = false;
|
|
1229
1229
|
} else {
|
|
1230
|
-
this.
|
|
1230
|
+
this.e1q(finalState);
|
|
1231
1231
|
tmp = true;
|
|
1232
1232
|
}
|
|
1233
1233
|
return tmp;
|
|
1234
1234
|
}
|
|
1235
|
-
|
|
1236
|
-
var state = this.
|
|
1235
|
+
k1r() {
|
|
1236
|
+
var state = this.o1q();
|
|
1237
1237
|
var tmp;
|
|
1238
1238
|
if (state instanceof Finishing()) {
|
|
1239
|
-
tmp = state.
|
|
1239
|
+
tmp = state.e1y();
|
|
1240
1240
|
} else {
|
|
1241
1241
|
if (state instanceof CompletedExceptionally()) {
|
|
1242
|
-
tmp = state.
|
|
1242
|
+
tmp = state.z1p_1;
|
|
1243
1243
|
} else {
|
|
1244
1244
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
1245
1245
|
var message = 'Cannot be cancelling child in this state: ' + toString(state);
|
|
@@ -1251,12 +1251,12 @@ function JobSupport() {
|
|
|
1251
1251
|
}
|
|
1252
1252
|
var rootCause = tmp;
|
|
1253
1253
|
var tmp1_elvis_lhs = rootCause instanceof CancellationException() ? rootCause : null;
|
|
1254
|
-
return tmp1_elvis_lhs == null ? JobCancellationException().
|
|
1254
|
+
return tmp1_elvis_lhs == null ? JobCancellationException().x1x('Parent job is ' + stateString(this, state), rootCause, this) : tmp1_elvis_lhs;
|
|
1255
1255
|
}
|
|
1256
|
-
|
|
1256
|
+
l1r(proposedUpdate) {
|
|
1257
1257
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1258
1258
|
while (true) {
|
|
1259
|
-
var tmp0 = this.
|
|
1259
|
+
var tmp0 = this.o1q();
|
|
1260
1260
|
$l$block: {
|
|
1261
1261
|
var finalState = tryMakeCompleting(this, tmp0, proposedUpdate);
|
|
1262
1262
|
if (finalState === get_COMPLETING_ALREADY())
|
|
@@ -1266,16 +1266,16 @@ function JobSupport() {
|
|
|
1266
1266
|
else if (finalState === get_COMPLETING_RETRY()) {
|
|
1267
1267
|
break $l$block;
|
|
1268
1268
|
} else {
|
|
1269
|
-
this.
|
|
1269
|
+
this.e1q(finalState);
|
|
1270
1270
|
return true;
|
|
1271
1271
|
}
|
|
1272
1272
|
}
|
|
1273
1273
|
}
|
|
1274
1274
|
}
|
|
1275
|
-
|
|
1275
|
+
c1q(proposedUpdate) {
|
|
1276
1276
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1277
1277
|
while (true) {
|
|
1278
|
-
var tmp0 = this.
|
|
1278
|
+
var tmp0 = this.o1q();
|
|
1279
1279
|
$l$block: {
|
|
1280
1280
|
var finalState = tryMakeCompleting(this, tmp0, proposedUpdate);
|
|
1281
1281
|
if (finalState === get_COMPLETING_ALREADY())
|
|
@@ -1287,20 +1287,20 @@ function JobSupport() {
|
|
|
1287
1287
|
}
|
|
1288
1288
|
}
|
|
1289
1289
|
}
|
|
1290
|
-
|
|
1290
|
+
m1r(child) {
|
|
1291
1291
|
// Inline function 'kotlin.also' call
|
|
1292
1292
|
var this_0 = new (ChildHandleNode())(child);
|
|
1293
|
-
this_0.
|
|
1293
|
+
this_0.p1v_1 = this;
|
|
1294
1294
|
var node = this_0;
|
|
1295
1295
|
var tmp$ret$2;
|
|
1296
1296
|
$l$block_1: {
|
|
1297
1297
|
// Inline function 'kotlinx.coroutines.JobSupport.tryPutNodeIntoList' call
|
|
1298
1298
|
// Inline function 'kotlinx.coroutines.JobSupport.loopOnState' call
|
|
1299
1299
|
while (true) {
|
|
1300
|
-
var state = this.
|
|
1300
|
+
var state = this.o1q();
|
|
1301
1301
|
if (state instanceof Empty()) {
|
|
1302
|
-
if (state.
|
|
1303
|
-
if (this.
|
|
1302
|
+
if (state.a1y_1) {
|
|
1303
|
+
if (this.n1p_1.atomicfu$compareAndSet(state, node)) {
|
|
1304
1304
|
tmp$ret$2 = true;
|
|
1305
1305
|
break $l$block_1;
|
|
1306
1306
|
}
|
|
@@ -1309,27 +1309,27 @@ function JobSupport() {
|
|
|
1309
1309
|
}
|
|
1310
1310
|
} else {
|
|
1311
1311
|
if (!(state == null) ? isInterface(state, Incomplete()) : false) {
|
|
1312
|
-
var list = state.
|
|
1312
|
+
var list = state.r1v();
|
|
1313
1313
|
if (list == null) {
|
|
1314
1314
|
promoteSingleToNodeList(this, state instanceof JobNode() ? state : THROW_CCE());
|
|
1315
1315
|
} else {
|
|
1316
|
-
var addedBeforeCancellation = list.
|
|
1316
|
+
var addedBeforeCancellation = list.v1v(node, 7);
|
|
1317
1317
|
var tmp;
|
|
1318
1318
|
if (addedBeforeCancellation) {
|
|
1319
1319
|
tmp = true;
|
|
1320
1320
|
} else {
|
|
1321
|
-
var addedBeforeCompletion = list.
|
|
1322
|
-
var latestState = this.
|
|
1321
|
+
var addedBeforeCompletion = list.v1v(node, 3);
|
|
1322
|
+
var latestState = this.o1q();
|
|
1323
1323
|
var tmp_0;
|
|
1324
1324
|
if (latestState instanceof Finishing()) {
|
|
1325
|
-
tmp_0 = latestState.
|
|
1325
|
+
tmp_0 = latestState.e1y();
|
|
1326
1326
|
} else {
|
|
1327
1327
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
1328
1328
|
var tmp0_safe_receiver = latestState instanceof CompletedExceptionally() ? latestState : null;
|
|
1329
|
-
tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1329
|
+
tmp_0 = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.z1p_1;
|
|
1330
1330
|
}
|
|
1331
1331
|
var rootCause = tmp_0;
|
|
1332
|
-
node.
|
|
1332
|
+
node.z1s(rootCause);
|
|
1333
1333
|
var tmp_1;
|
|
1334
1334
|
if (addedBeforeCompletion) {
|
|
1335
1335
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
@@ -1354,40 +1354,40 @@ function JobSupport() {
|
|
|
1354
1354
|
var added = tmp$ret$2;
|
|
1355
1355
|
if (added)
|
|
1356
1356
|
return node;
|
|
1357
|
-
var tmp_2 = this.
|
|
1357
|
+
var tmp_2 = this.o1q();
|
|
1358
1358
|
var tmp0_safe_receiver_0 = tmp_2 instanceof CompletedExceptionally() ? tmp_2 : null;
|
|
1359
|
-
node.
|
|
1359
|
+
node.z1s(tmp0_safe_receiver_0 == null ? null : tmp0_safe_receiver_0.z1p_1);
|
|
1360
1360
|
return NonDisposableHandle_instance;
|
|
1361
1361
|
}
|
|
1362
|
-
|
|
1362
|
+
f1q(exception) {
|
|
1363
1363
|
throw exception;
|
|
1364
1364
|
}
|
|
1365
|
-
|
|
1365
|
+
n1r(cause) {
|
|
1366
1366
|
}
|
|
1367
|
-
|
|
1367
|
+
o1r() {
|
|
1368
1368
|
return false;
|
|
1369
1369
|
}
|
|
1370
|
-
|
|
1370
|
+
p1r() {
|
|
1371
1371
|
return true;
|
|
1372
1372
|
}
|
|
1373
|
-
|
|
1373
|
+
q1r(exception) {
|
|
1374
1374
|
return false;
|
|
1375
1375
|
}
|
|
1376
|
-
|
|
1376
|
+
y1p(state) {
|
|
1377
1377
|
}
|
|
1378
|
-
|
|
1378
|
+
e1q(state) {
|
|
1379
1379
|
}
|
|
1380
1380
|
toString() {
|
|
1381
|
-
return this.
|
|
1381
|
+
return this.r1r() + '@' + get_hexAddress(this);
|
|
1382
1382
|
}
|
|
1383
|
-
|
|
1384
|
-
return this.
|
|
1383
|
+
r1r() {
|
|
1384
|
+
return this.g1q() + '{' + stateString(this, this.o1q()) + '}';
|
|
1385
1385
|
}
|
|
1386
|
-
|
|
1386
|
+
g1q() {
|
|
1387
1387
|
return get_classSimpleName(this);
|
|
1388
1388
|
}
|
|
1389
|
-
|
|
1390
|
-
var state = this.
|
|
1389
|
+
s1r() {
|
|
1390
|
+
var state = this.o1q();
|
|
1391
1391
|
// Inline function 'kotlin.check' call
|
|
1392
1392
|
if (!!(!(state == null) ? isInterface(state, Incomplete()) : false)) {
|
|
1393
1393
|
var message = 'This job has not completed yet';
|
|
@@ -1395,24 +1395,24 @@ function JobSupport() {
|
|
|
1395
1395
|
}
|
|
1396
1396
|
return _get_exceptionOrNull__b3j7js(this, state);
|
|
1397
1397
|
}
|
|
1398
|
-
|
|
1399
|
-
var state = this.
|
|
1398
|
+
t1r() {
|
|
1399
|
+
var state = this.o1q();
|
|
1400
1400
|
// Inline function 'kotlin.check' call
|
|
1401
1401
|
if (!!(!(state == null) ? isInterface(state, Incomplete()) : false)) {
|
|
1402
1402
|
var message = 'This job has not completed yet';
|
|
1403
1403
|
throw IllegalStateException().w4(toString(message));
|
|
1404
1404
|
}
|
|
1405
1405
|
if (state instanceof CompletedExceptionally())
|
|
1406
|
-
throw state.
|
|
1406
|
+
throw state.z1p_1;
|
|
1407
1407
|
return unboxState(state);
|
|
1408
1408
|
}
|
|
1409
|
-
|
|
1409
|
+
u1r($completion) {
|
|
1410
1410
|
$l$loop: while (true) {
|
|
1411
|
-
var state = this.
|
|
1411
|
+
var state = this.o1q();
|
|
1412
1412
|
if (!(!(state == null) ? isInterface(state, Incomplete()) : false)) {
|
|
1413
1413
|
if (state instanceof CompletedExceptionally()) {
|
|
1414
1414
|
// Inline function 'kotlinx.coroutines.internal.recoverAndThrow' call
|
|
1415
|
-
throw state.
|
|
1415
|
+
throw state.z1p_1;
|
|
1416
1416
|
}
|
|
1417
1417
|
return unboxState(state);
|
|
1418
1418
|
}
|
|
@@ -1422,8 +1422,8 @@ function JobSupport() {
|
|
|
1422
1422
|
return awaitSuspend(this, $completion);
|
|
1423
1423
|
}
|
|
1424
1424
|
}
|
|
1425
|
-
protoOf($).
|
|
1426
|
-
protoOf($).
|
|
1425
|
+
protoOf($).y1q = invokeOnCompletion$default;
|
|
1426
|
+
protoOf($).e1r = cancel$default;
|
|
1427
1427
|
protoOf($).cl = plus;
|
|
1428
1428
|
protoOf($).gc = get;
|
|
1429
1429
|
protoOf($).bl = fold;
|
|
@@ -1434,9 +1434,9 @@ function JobSupport() {
|
|
|
1434
1434
|
return JobSupportClass;
|
|
1435
1435
|
}
|
|
1436
1436
|
function handlesExceptionF($this) {
|
|
1437
|
-
var tmp = $this.
|
|
1437
|
+
var tmp = $this.m1q();
|
|
1438
1438
|
var tmp0_safe_receiver = tmp instanceof ChildHandleNode() ? tmp : null;
|
|
1439
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.
|
|
1439
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : tmp0_safe_receiver.q1v();
|
|
1440
1440
|
var tmp_0;
|
|
1441
1441
|
if (tmp1_elvis_lhs == null) {
|
|
1442
1442
|
return false;
|
|
@@ -1445,11 +1445,11 @@ function handlesExceptionF($this) {
|
|
|
1445
1445
|
}
|
|
1446
1446
|
var parentJob = tmp_0;
|
|
1447
1447
|
while (true) {
|
|
1448
|
-
if (parentJob.
|
|
1448
|
+
if (parentJob.p1r())
|
|
1449
1449
|
return true;
|
|
1450
|
-
var tmp_1 = parentJob.
|
|
1450
|
+
var tmp_1 = parentJob.m1q();
|
|
1451
1451
|
var tmp2_safe_receiver = tmp_1 instanceof ChildHandleNode() ? tmp_1 : null;
|
|
1452
|
-
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.
|
|
1452
|
+
var tmp3_elvis_lhs = tmp2_safe_receiver == null ? null : tmp2_safe_receiver.q1v();
|
|
1453
1453
|
var tmp_2;
|
|
1454
1454
|
if (tmp3_elvis_lhs == null) {
|
|
1455
1455
|
return false;
|
|
@@ -1465,20 +1465,20 @@ function JobImpl() {
|
|
|
1465
1465
|
class $ extends JobSupport() {
|
|
1466
1466
|
constructor(parent) {
|
|
1467
1467
|
super(true);
|
|
1468
|
-
this.
|
|
1469
|
-
this.
|
|
1468
|
+
this.p1p(parent);
|
|
1469
|
+
this.d1z_1 = handlesExceptionF(this);
|
|
1470
1470
|
}
|
|
1471
|
-
|
|
1471
|
+
c1r() {
|
|
1472
1472
|
return true;
|
|
1473
1473
|
}
|
|
1474
|
-
|
|
1475
|
-
return this.
|
|
1474
|
+
p1r() {
|
|
1475
|
+
return this.d1z_1;
|
|
1476
1476
|
}
|
|
1477
|
-
|
|
1478
|
-
return this.
|
|
1477
|
+
c1w() {
|
|
1478
|
+
return this.l1r(Unit_instance);
|
|
1479
1479
|
}
|
|
1480
|
-
|
|
1481
|
-
return this.
|
|
1480
|
+
b1w(exception) {
|
|
1481
|
+
return this.l1r(new (CompletedExceptionally())(exception));
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
1484
|
initMetadataForClass($, 'JobImpl', VOID, VOID, [JobSupport(), CompletableJob()], [0]);
|
|
@@ -1491,16 +1491,16 @@ function Empty() {
|
|
|
1491
1491
|
if (EmptyClass === VOID) {
|
|
1492
1492
|
class $ {
|
|
1493
1493
|
constructor(isActive) {
|
|
1494
|
-
this.
|
|
1494
|
+
this.a1y_1 = isActive;
|
|
1495
1495
|
}
|
|
1496
|
-
|
|
1497
|
-
return this.
|
|
1496
|
+
u1p() {
|
|
1497
|
+
return this.a1y_1;
|
|
1498
1498
|
}
|
|
1499
|
-
|
|
1499
|
+
r1v() {
|
|
1500
1500
|
return null;
|
|
1501
1501
|
}
|
|
1502
1502
|
toString() {
|
|
1503
|
-
return 'Empty{' + (this.
|
|
1503
|
+
return 'Empty{' + (this.a1y_1 ? 'Active' : 'New') + '}';
|
|
1504
1504
|
}
|
|
1505
1505
|
}
|
|
1506
1506
|
initMetadataForClass($, 'Empty', VOID, VOID, [Incomplete()]);
|
|
@@ -1521,13 +1521,13 @@ var NodeListClass;
|
|
|
1521
1521
|
function NodeList() {
|
|
1522
1522
|
if (NodeListClass === VOID) {
|
|
1523
1523
|
class $ extends LockFreeLinkedListHead() {
|
|
1524
|
-
|
|
1524
|
+
u1p() {
|
|
1525
1525
|
return true;
|
|
1526
1526
|
}
|
|
1527
|
-
|
|
1527
|
+
r1v() {
|
|
1528
1528
|
return this;
|
|
1529
1529
|
}
|
|
1530
|
-
|
|
1530
|
+
h1z(state) {
|
|
1531
1531
|
// Inline function 'kotlin.text.buildString' call
|
|
1532
1532
|
// Inline function 'kotlin.apply' call
|
|
1533
1533
|
var this_0 = StringBuilder().a1();
|
|
@@ -1536,7 +1536,7 @@ function NodeList() {
|
|
|
1536
1536
|
this_0.ib('}[');
|
|
1537
1537
|
var first = true;
|
|
1538
1538
|
// Inline function 'kotlinx.coroutines.internal.LockFreeLinkedListHead.forEach' call
|
|
1539
|
-
var cur = this.
|
|
1539
|
+
var cur = this.s1v_1;
|
|
1540
1540
|
while (!equals(cur, this)) {
|
|
1541
1541
|
var node = cur;
|
|
1542
1542
|
if (node instanceof JobNode()) {
|
|
@@ -1546,13 +1546,13 @@ function NodeList() {
|
|
|
1546
1546
|
this_0.ib(', ');
|
|
1547
1547
|
this_0.hb(node);
|
|
1548
1548
|
}
|
|
1549
|
-
cur = cur.
|
|
1549
|
+
cur = cur.s1v_1;
|
|
1550
1550
|
}
|
|
1551
1551
|
this_0.ib(']');
|
|
1552
1552
|
return this_0.toString();
|
|
1553
1553
|
}
|
|
1554
1554
|
toString() {
|
|
1555
|
-
return get_DEBUG() ? this.
|
|
1555
|
+
return get_DEBUG() ? this.h1z('Active') : super.toString();
|
|
1556
1556
|
}
|
|
1557
1557
|
}
|
|
1558
1558
|
initMetadataForClass($, 'NodeList', NodeList, VOID, [LockFreeLinkedListHead(), Incomplete()]);
|
|
@@ -1565,7 +1565,7 @@ function IncompleteStateBox() {
|
|
|
1565
1565
|
if (IncompleteStateBoxClass === VOID) {
|
|
1566
1566
|
class $ {
|
|
1567
1567
|
constructor(state) {
|
|
1568
|
-
this.
|
|
1568
|
+
this.k1x_1 = state;
|
|
1569
1569
|
}
|
|
1570
1570
|
}
|
|
1571
1571
|
initMetadataForClass($, 'IncompleteStateBox');
|
|
@@ -1588,16 +1588,16 @@ function InactiveNodeList() {
|
|
|
1588
1588
|
if (InactiveNodeListClass === VOID) {
|
|
1589
1589
|
class $ {
|
|
1590
1590
|
constructor(list) {
|
|
1591
|
-
this.
|
|
1591
|
+
this.z1x_1 = list;
|
|
1592
1592
|
}
|
|
1593
|
-
|
|
1594
|
-
return this.
|
|
1593
|
+
r1v() {
|
|
1594
|
+
return this.z1x_1;
|
|
1595
1595
|
}
|
|
1596
|
-
|
|
1596
|
+
u1p() {
|
|
1597
1597
|
return false;
|
|
1598
1598
|
}
|
|
1599
1599
|
toString() {
|
|
1600
|
-
return get_DEBUG() ? this.
|
|
1600
|
+
return get_DEBUG() ? this.z1x_1.h1z('New') : anyToString(this);
|
|
1601
1601
|
}
|
|
1602
1602
|
}
|
|
1603
1603
|
initMetadataForClass($, 'InactiveNodeList', VOID, VOID, [Incomplete()]);
|
|
@@ -1611,13 +1611,13 @@ function InvokeOnCompletion() {
|
|
|
1611
1611
|
class $ extends JobNode() {
|
|
1612
1612
|
constructor(handler) {
|
|
1613
1613
|
super();
|
|
1614
|
-
this.
|
|
1614
|
+
this.m1z_1 = handler;
|
|
1615
1615
|
}
|
|
1616
|
-
|
|
1616
|
+
l1v() {
|
|
1617
1617
|
return false;
|
|
1618
1618
|
}
|
|
1619
|
-
|
|
1620
|
-
return this.
|
|
1619
|
+
z1s(cause) {
|
|
1620
|
+
return this.m1z_1(cause);
|
|
1621
1621
|
}
|
|
1622
1622
|
}
|
|
1623
1623
|
initMetadataForClass($, 'InvokeOnCompletion');
|
|
@@ -1631,15 +1631,15 @@ function InvokeOnCancelling() {
|
|
|
1631
1631
|
class $ extends JobNode() {
|
|
1632
1632
|
constructor(handler) {
|
|
1633
1633
|
super();
|
|
1634
|
-
this.
|
|
1635
|
-
this.
|
|
1634
|
+
this.r1z_1 = handler;
|
|
1635
|
+
this.s1z_1 = atomic$boolean$1(false);
|
|
1636
1636
|
}
|
|
1637
|
-
|
|
1637
|
+
l1v() {
|
|
1638
1638
|
return true;
|
|
1639
1639
|
}
|
|
1640
|
-
|
|
1641
|
-
if (this.
|
|
1642
|
-
this.
|
|
1640
|
+
z1s(cause) {
|
|
1641
|
+
if (this.s1z_1.atomicfu$compareAndSet(false, true))
|
|
1642
|
+
this.r1z_1(cause);
|
|
1643
1643
|
}
|
|
1644
1644
|
}
|
|
1645
1645
|
initMetadataForClass($, 'InvokeOnCancelling');
|
|
@@ -1653,14 +1653,14 @@ function ResumeOnCompletion() {
|
|
|
1653
1653
|
class $ extends JobNode() {
|
|
1654
1654
|
constructor(continuation) {
|
|
1655
1655
|
super();
|
|
1656
|
-
this.
|
|
1656
|
+
this.x1z_1 = continuation;
|
|
1657
1657
|
}
|
|
1658
|
-
|
|
1658
|
+
l1v() {
|
|
1659
1659
|
return false;
|
|
1660
1660
|
}
|
|
1661
|
-
|
|
1661
|
+
z1s(cause) {
|
|
1662
1662
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1663
|
-
var this_0 = this.
|
|
1663
|
+
var this_0 = this.x1z_1;
|
|
1664
1664
|
// Inline function 'kotlin.Companion.success' call
|
|
1665
1665
|
var tmp$ret$0 = _Result___init__impl__xyqfz8(Unit_instance);
|
|
1666
1666
|
this_0.vb(tmp$ret$0);
|
|
@@ -1678,19 +1678,19 @@ function ChildHandleNode() {
|
|
|
1678
1678
|
class $ extends JobNode() {
|
|
1679
1679
|
constructor(childJob) {
|
|
1680
1680
|
super();
|
|
1681
|
-
this.
|
|
1681
|
+
this.k1y_1 = childJob;
|
|
1682
1682
|
}
|
|
1683
|
-
|
|
1684
|
-
return this.
|
|
1683
|
+
n1q() {
|
|
1684
|
+
return this.q1v();
|
|
1685
1685
|
}
|
|
1686
|
-
|
|
1686
|
+
l1v() {
|
|
1687
1687
|
return true;
|
|
1688
1688
|
}
|
|
1689
|
-
|
|
1690
|
-
return this.
|
|
1689
|
+
z1s(cause) {
|
|
1690
|
+
return this.k1y_1.g1r(this.q1v());
|
|
1691
1691
|
}
|
|
1692
|
-
|
|
1693
|
-
return this.
|
|
1692
|
+
h1r(cause) {
|
|
1693
|
+
return this.q1v().h1r(cause);
|
|
1694
1694
|
}
|
|
1695
1695
|
}
|
|
1696
1696
|
initMetadataForClass($, 'ChildHandleNode');
|
|
@@ -1704,23 +1704,23 @@ function ResumeAwaitOnCompletion() {
|
|
|
1704
1704
|
class $ extends JobNode() {
|
|
1705
1705
|
constructor(continuation) {
|
|
1706
1706
|
super();
|
|
1707
|
-
this.
|
|
1707
|
+
this.c20_1 = continuation;
|
|
1708
1708
|
}
|
|
1709
|
-
|
|
1709
|
+
l1v() {
|
|
1710
1710
|
return false;
|
|
1711
1711
|
}
|
|
1712
|
-
|
|
1713
|
-
var state = this.
|
|
1712
|
+
z1s(cause) {
|
|
1713
|
+
var state = this.q1v().o1q();
|
|
1714
1714
|
// Inline function 'kotlinx.coroutines.assert' call
|
|
1715
1715
|
if (state instanceof CompletedExceptionally()) {
|
|
1716
|
-
var tmp0 = this.
|
|
1716
|
+
var tmp0 = this.c20_1;
|
|
1717
1717
|
// Inline function 'kotlin.coroutines.resumeWithException' call
|
|
1718
1718
|
// Inline function 'kotlin.Companion.failure' call
|
|
1719
|
-
var exception = state.
|
|
1719
|
+
var exception = state.z1p_1;
|
|
1720
1720
|
var tmp$ret$1 = _Result___init__impl__xyqfz8(createFailure(exception));
|
|
1721
1721
|
tmp0.vb(tmp$ret$1);
|
|
1722
1722
|
} else {
|
|
1723
|
-
var tmp0_0 = this.
|
|
1723
|
+
var tmp0_0 = this.c20_1;
|
|
1724
1724
|
var tmp = unboxState(state);
|
|
1725
1725
|
// Inline function 'kotlin.coroutines.resume' call
|
|
1726
1726
|
// Inline function 'kotlin.Companion.success' call
|