effect 4.0.0-beta.78 → 4.0.0-beta.79
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/dist/Array.d.ts.map +1 -1
- package/dist/Array.js +6 -81
- package/dist/Array.js.map +1 -1
- package/dist/BigDecimal.d.ts +5 -55
- package/dist/BigDecimal.d.ts.map +1 -1
- package/dist/BigDecimal.js +5 -55
- package/dist/BigDecimal.js.map +1 -1
- package/dist/BigInt.d.ts +5 -64
- package/dist/BigInt.d.ts.map +1 -1
- package/dist/BigInt.js +5 -64
- package/dist/BigInt.js.map +1 -1
- package/dist/Boolean.d.ts +5 -52
- package/dist/Boolean.d.ts.map +1 -1
- package/dist/Boolean.js +5 -52
- package/dist/Boolean.js.map +1 -1
- package/dist/Brand.d.ts.map +1 -1
- package/dist/Brand.js +0 -44
- package/dist/Brand.js.map +1 -1
- package/dist/Cache.d.ts.map +1 -1
- package/dist/Cache.js +5 -44
- package/dist/Cache.js.map +1 -1
- package/dist/Cause.d.ts +6 -72
- package/dist/Cause.d.ts.map +1 -1
- package/dist/Cause.js +6 -72
- package/dist/Cause.js.map +1 -1
- package/dist/Channel.d.ts +6 -67
- package/dist/Channel.d.ts.map +1 -1
- package/dist/Channel.js +6 -67
- package/dist/Channel.js.map +1 -1
- package/dist/ChannelSchema.d.ts +5 -41
- package/dist/ChannelSchema.d.ts.map +1 -1
- package/dist/ChannelSchema.js.map +1 -1
- package/dist/Chunk.d.ts +6 -67
- package/dist/Chunk.d.ts.map +1 -1
- package/dist/Chunk.js +6 -67
- package/dist/Chunk.js.map +1 -1
- package/dist/Clock.d.ts +4 -56
- package/dist/Clock.d.ts.map +1 -1
- package/dist/Clock.js.map +1 -1
- package/dist/Combiner.d.ts +6 -57
- package/dist/Combiner.d.ts.map +1 -1
- package/dist/Combiner.js.map +1 -1
- package/dist/Config.d.ts +5 -69
- package/dist/Config.d.ts.map +1 -1
- package/dist/Config.js.map +1 -1
- package/dist/ConfigProvider.d.ts +6 -75
- package/dist/ConfigProvider.d.ts.map +1 -1
- package/dist/ConfigProvider.js +6 -75
- package/dist/ConfigProvider.js.map +1 -1
- package/dist/Console.d.ts +6 -70
- package/dist/Console.d.ts.map +1 -1
- package/dist/Console.js.map +1 -1
- package/dist/Context.d.ts +8 -47
- package/dist/Context.d.ts.map +1 -1
- package/dist/Context.js.map +1 -1
- package/dist/Cron.d.ts.map +1 -1
- package/dist/Cron.js +5 -41
- package/dist/Cron.js.map +1 -1
- package/dist/Crypto.d.ts +6 -50
- package/dist/Crypto.d.ts.map +1 -1
- package/dist/Crypto.js +6 -50
- package/dist/Crypto.js.map +1 -1
- package/dist/Data.d.ts +5 -72
- package/dist/Data.d.ts.map +1 -1
- package/dist/Data.js.map +1 -1
- package/dist/DateTime.d.ts +8 -48
- package/dist/DateTime.d.ts.map +1 -1
- package/dist/DateTime.js.map +1 -1
- package/dist/Deferred.d.ts +5 -58
- package/dist/Deferred.d.ts.map +1 -1
- package/dist/Deferred.js.map +1 -1
- package/dist/Differ.d.ts +4 -35
- package/dist/Differ.d.ts.map +1 -1
- package/dist/Differ.js +4 -35
- package/dist/Duration.d.ts +6 -46
- package/dist/Duration.d.ts.map +1 -1
- package/dist/Duration.js +6 -46
- package/dist/Duration.js.map +1 -1
- package/dist/Effect.d.ts +227 -103
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +172 -18
- package/dist/Effect.js.map +1 -1
- package/dist/Effectable.d.ts +4 -34
- package/dist/Effectable.d.ts.map +1 -1
- package/dist/Effectable.js.map +1 -1
- package/dist/Encoding.d.ts.map +1 -1
- package/dist/Encoding.js +5 -46
- package/dist/Encoding.js.map +1 -1
- package/dist/Equal.d.ts +6 -66
- package/dist/Equal.d.ts.map +1 -1
- package/dist/Equal.js.map +1 -1
- package/dist/Equivalence.d.ts.map +1 -1
- package/dist/Equivalence.js +6 -48
- package/dist/Equivalence.js.map +1 -1
- package/dist/ErrorReporter.d.ts +8 -47
- package/dist/ErrorReporter.d.ts.map +1 -1
- package/dist/ErrorReporter.js.map +1 -1
- package/dist/ExecutionPlan.d.ts +6 -79
- package/dist/ExecutionPlan.d.ts.map +1 -1
- package/dist/ExecutionPlan.js.map +1 -1
- package/dist/Exit.d.ts +6 -53
- package/dist/Exit.d.ts.map +1 -1
- package/dist/Exit.js.map +1 -1
- package/dist/Fiber.d.ts +5 -52
- package/dist/Fiber.d.ts.map +1 -1
- package/dist/Fiber.js.map +1 -1
- package/dist/FiberHandle.d.ts.map +1 -1
- package/dist/FiberHandle.js +8 -38
- package/dist/FiberHandle.js.map +1 -1
- package/dist/FiberMap.d.ts.map +1 -1
- package/dist/FiberMap.js +7 -34
- package/dist/FiberMap.js.map +1 -1
- package/dist/FiberSet.d.ts.map +1 -1
- package/dist/FiberSet.js +6 -36
- package/dist/FiberSet.js.map +1 -1
- package/dist/FileSystem.d.ts.map +1 -1
- package/dist/FileSystem.js +8 -51
- package/dist/FileSystem.js.map +1 -1
- package/dist/Filter.d.ts +8 -33
- package/dist/Filter.d.ts.map +1 -1
- package/dist/Filter.js.map +1 -1
- package/dist/Formatter.d.ts.map +1 -1
- package/dist/Formatter.js +6 -49
- package/dist/Formatter.js.map +1 -1
- package/dist/Function.d.ts +5 -43
- package/dist/Function.d.ts.map +1 -1
- package/dist/Function.js.map +1 -1
- package/dist/Graph.d.ts +5 -48
- package/dist/Graph.d.ts.map +1 -1
- package/dist/Graph.js +69 -61
- package/dist/Graph.js.map +1 -1
- package/dist/HKT.d.ts +6 -48
- package/dist/HKT.d.ts.map +1 -1
- package/dist/Hash.d.ts.map +1 -1
- package/dist/Hash.js +7 -49
- package/dist/Hash.js.map +1 -1
- package/dist/HashMap.d.ts +6 -69
- package/dist/HashMap.d.ts.map +1 -1
- package/dist/HashMap.js +6 -69
- package/dist/HashMap.js.map +1 -1
- package/dist/HashRing.d.ts.map +1 -1
- package/dist/HashRing.js +6 -56
- package/dist/HashRing.js.map +1 -1
- package/dist/HashSet.d.ts +7 -36
- package/dist/HashSet.d.ts.map +1 -1
- package/dist/HashSet.js +7 -36
- package/dist/HashSet.js.map +1 -1
- package/dist/Inspectable.d.ts.map +1 -1
- package/dist/Inspectable.js +6 -60
- package/dist/Inspectable.js.map +1 -1
- package/dist/Iterable.d.ts +5 -50
- package/dist/Iterable.d.ts.map +1 -1
- package/dist/Iterable.js +5 -50
- package/dist/Iterable.js.map +1 -1
- package/dist/JsonPatch.d.ts.map +1 -1
- package/dist/JsonPatch.js +0 -53
- package/dist/JsonPatch.js.map +1 -1
- package/dist/JsonPointer.d.ts +4 -49
- package/dist/JsonPointer.d.ts.map +1 -1
- package/dist/JsonPointer.js +4 -49
- package/dist/JsonPointer.js.map +1 -1
- package/dist/JsonSchema.d.ts.map +1 -1
- package/dist/JsonSchema.js +6 -82
- package/dist/JsonSchema.js.map +1 -1
- package/dist/Latch.d.ts +5 -31
- package/dist/Latch.d.ts.map +1 -1
- package/dist/Latch.js.map +1 -1
- package/dist/Layer.d.ts +6 -38
- package/dist/Layer.d.ts.map +1 -1
- package/dist/Layer.js.map +1 -1
- package/dist/LayerMap.d.ts +7 -32
- package/dist/LayerMap.d.ts.map +1 -1
- package/dist/LayerMap.js +7 -32
- package/dist/LayerMap.js.map +1 -1
- package/dist/LogLevel.d.ts +4 -35
- package/dist/LogLevel.d.ts.map +1 -1
- package/dist/LogLevel.js.map +1 -1
- package/dist/Logger.d.ts.map +1 -1
- package/dist/Logger.js +6 -80
- package/dist/Logger.js.map +1 -1
- package/dist/ManagedRuntime.d.ts +6 -36
- package/dist/ManagedRuntime.d.ts.map +1 -1
- package/dist/ManagedRuntime.js.map +1 -1
- package/dist/Match.d.ts.map +1 -1
- package/dist/Match.js +8 -42
- package/dist/Match.js.map +1 -1
- package/dist/Metric.d.ts +8 -81
- package/dist/Metric.d.ts.map +1 -1
- package/dist/Metric.js +8 -81
- package/dist/Metric.js.map +1 -1
- package/dist/MutableHashMap.d.ts +6 -35
- package/dist/MutableHashMap.d.ts.map +1 -1
- package/dist/MutableHashMap.js.map +1 -1
- package/dist/MutableHashSet.d.ts.map +1 -1
- package/dist/MutableHashSet.js +5 -63
- package/dist/MutableHashSet.js.map +1 -1
- package/dist/MutableList.d.ts.map +1 -1
- package/dist/MutableList.js +6 -46
- package/dist/MutableList.js.map +1 -1
- package/dist/MutableRef.d.ts.map +1 -1
- package/dist/MutableRef.js +7 -30
- package/dist/MutableRef.js.map +1 -1
- package/dist/Newtype.d.ts +8 -61
- package/dist/Newtype.d.ts.map +1 -1
- package/dist/Newtype.js.map +1 -1
- package/dist/NonEmptyIterable.d.ts +0 -135
- package/dist/NonEmptyIterable.d.ts.map +1 -1
- package/dist/NonEmptyIterable.js +0 -135
- package/dist/NonEmptyIterable.js.map +1 -1
- package/dist/Number.d.ts +4 -55
- package/dist/Number.d.ts.map +1 -1
- package/dist/Number.js +4 -55
- package/dist/Number.js.map +1 -1
- package/dist/Optic.d.ts +9 -91
- package/dist/Optic.d.ts.map +1 -1
- package/dist/Optic.js +9 -91
- package/dist/Optic.js.map +1 -1
- package/dist/Option.d.ts +8 -69
- package/dist/Option.d.ts.map +1 -1
- package/dist/Option.js +8 -69
- package/dist/Option.js.map +1 -1
- package/dist/Order.d.ts.map +1 -1
- package/dist/Order.js +8 -76
- package/dist/Order.js.map +1 -1
- package/dist/Ordering.d.ts +5 -31
- package/dist/Ordering.d.ts.map +1 -1
- package/dist/Ordering.js.map +1 -1
- package/dist/PartitionedSemaphore.d.ts +0 -28
- package/dist/PartitionedSemaphore.d.ts.map +1 -1
- package/dist/PartitionedSemaphore.js +0 -28
- package/dist/PartitionedSemaphore.js.map +1 -1
- package/dist/Path.d.ts +7 -29
- package/dist/Path.d.ts.map +1 -1
- package/dist/Path.js +6 -28
- package/dist/Path.js.map +1 -1
- package/dist/Pipeable.d.ts +0 -11
- package/dist/Pipeable.d.ts.map +1 -1
- package/dist/Pipeable.js +0 -11
- package/dist/Pipeable.js.map +1 -1
- package/dist/PlatformError.d.ts +7 -29
- package/dist/PlatformError.d.ts.map +1 -1
- package/dist/PlatformError.js +7 -29
- package/dist/PlatformError.js.map +1 -1
- package/dist/Pool.d.ts.map +1 -1
- package/dist/Pool.js.map +1 -1
- package/dist/Predicate.d.ts.map +1 -1
- package/dist/Predicate.js +6 -61
- package/dist/Predicate.js.map +1 -1
- package/dist/PrimaryKey.d.ts +0 -40
- package/dist/PrimaryKey.d.ts.map +1 -1
- package/dist/PrimaryKey.js +0 -40
- package/dist/PrimaryKey.js.map +1 -1
- package/dist/PubSub.d.ts +8 -56
- package/dist/PubSub.d.ts.map +1 -1
- package/dist/PubSub.js +8 -56
- package/dist/PubSub.js.map +1 -1
- package/dist/Pull.d.ts +8 -25
- package/dist/Pull.d.ts.map +1 -1
- package/dist/Pull.js +8 -25
- package/dist/Pull.js.map +1 -1
- package/dist/Queue.d.ts +5 -62
- package/dist/Queue.d.ts.map +1 -1
- package/dist/Queue.js +5 -62
- package/dist/Queue.js.map +1 -1
- package/dist/Random.d.ts +5 -39
- package/dist/Random.d.ts.map +1 -1
- package/dist/Random.js +6 -74
- package/dist/Random.js.map +1 -1
- package/dist/RcMap.d.ts +9 -17
- package/dist/RcMap.d.ts.map +1 -1
- package/dist/RcMap.js +9 -17
- package/dist/RcMap.js.map +1 -1
- package/dist/RcRef.d.ts +6 -36
- package/dist/RcRef.d.ts.map +1 -1
- package/dist/RcRef.js.map +1 -1
- package/dist/Record.d.ts +6 -71
- package/dist/Record.d.ts.map +1 -1
- package/dist/Record.js +6 -71
- package/dist/Record.js.map +1 -1
- package/dist/Redactable.d.ts +0 -58
- package/dist/Redactable.d.ts.map +1 -1
- package/dist/Redactable.js.map +1 -1
- package/dist/Redacted.d.ts +8 -41
- package/dist/Redacted.d.ts.map +1 -1
- package/dist/Redacted.js +8 -41
- package/dist/Redacted.js.map +1 -1
- package/dist/Reducer.d.ts +5 -64
- package/dist/Reducer.d.ts.map +1 -1
- package/dist/Reducer.js +5 -64
- package/dist/Reducer.js.map +1 -1
- package/dist/Ref.d.ts +8 -49
- package/dist/Ref.d.ts.map +1 -1
- package/dist/Ref.js +8 -49
- package/dist/Ref.js.map +1 -1
- package/dist/References.d.ts +0 -49
- package/dist/References.d.ts.map +1 -1
- package/dist/References.js.map +1 -1
- package/dist/RegExp.d.ts.map +1 -1
- package/dist/RegExp.js +0 -26
- package/dist/RegExp.js.map +1 -1
- package/dist/Request.d.ts +6 -41
- package/dist/Request.d.ts.map +1 -1
- package/dist/Request.js.map +1 -1
- package/dist/RequestResolver.d.ts +6 -41
- package/dist/RequestResolver.d.ts.map +1 -1
- package/dist/RequestResolver.js.map +1 -1
- package/dist/Resource.d.ts.map +1 -1
- package/dist/Resource.js +5 -30
- package/dist/Resource.js.map +1 -1
- package/dist/Result.d.ts +6 -64
- package/dist/Result.d.ts.map +1 -1
- package/dist/Result.js +6 -64
- package/dist/Result.js.map +1 -1
- package/dist/Runtime.d.ts.map +1 -1
- package/dist/Runtime.js +7 -55
- package/dist/Runtime.js.map +1 -1
- package/dist/Schedule.d.ts.map +1 -1
- package/dist/Schedule.js +5 -61
- package/dist/Schedule.js.map +1 -1
- package/dist/Scheduler.d.ts +6 -17
- package/dist/Scheduler.d.ts.map +1 -1
- package/dist/Scheduler.js +6 -17
- package/dist/Scheduler.js.map +1 -1
- package/dist/Schema.d.ts +257 -166
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +347 -361
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +18 -73
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +83 -89
- package/dist/SchemaAST.js.map +1 -1
- package/dist/SchemaGetter.d.ts +9 -83
- package/dist/SchemaGetter.d.ts.map +1 -1
- package/dist/SchemaGetter.js +9 -83
- package/dist/SchemaGetter.js.map +1 -1
- package/dist/SchemaIssue.d.ts +8 -76
- package/dist/SchemaIssue.d.ts.map +1 -1
- package/dist/SchemaIssue.js.map +1 -1
- package/dist/SchemaParser.d.ts.map +1 -1
- package/dist/SchemaParser.js +23 -43
- package/dist/SchemaParser.js.map +1 -1
- package/dist/SchemaRepresentation.d.ts.map +1 -1
- package/dist/SchemaRepresentation.js +10 -84
- package/dist/SchemaRepresentation.js.map +1 -1
- package/dist/SchemaTransformation.d.ts +9 -82
- package/dist/SchemaTransformation.d.ts.map +1 -1
- package/dist/SchemaTransformation.js +9 -82
- package/dist/SchemaTransformation.js.map +1 -1
- package/dist/SchemaUtils.d.ts.map +1 -1
- package/dist/SchemaUtils.js +5 -33
- package/dist/SchemaUtils.js.map +1 -1
- package/dist/Scope.d.ts +6 -41
- package/dist/Scope.d.ts.map +1 -1
- package/dist/Scope.js +6 -41
- package/dist/Scope.js.map +1 -1
- package/dist/ScopedCache.d.ts.map +1 -1
- package/dist/ScopedCache.js +8 -23
- package/dist/ScopedCache.js.map +1 -1
- package/dist/ScopedRef.d.ts +6 -18
- package/dist/ScopedRef.d.ts.map +1 -1
- package/dist/ScopedRef.js +6 -18
- package/dist/ScopedRef.js.map +1 -1
- package/dist/Semaphore.d.ts +8 -30
- package/dist/Semaphore.d.ts.map +1 -1
- package/dist/Semaphore.js.map +1 -1
- package/dist/Sink.d.ts +6 -29
- package/dist/Sink.d.ts.map +1 -1
- package/dist/Sink.js.map +1 -1
- package/dist/Stdio.d.ts +7 -26
- package/dist/Stdio.d.ts.map +1 -1
- package/dist/Stdio.js +7 -26
- package/dist/Stdio.js.map +1 -1
- package/dist/Stream.d.ts +8 -79
- package/dist/Stream.d.ts.map +1 -1
- package/dist/Stream.js +8 -79
- package/dist/Stream.js.map +1 -1
- package/dist/String.d.ts +5 -63
- package/dist/String.d.ts.map +1 -1
- package/dist/String.js +5 -63
- package/dist/String.js.map +1 -1
- package/dist/Struct.d.ts +8 -71
- package/dist/Struct.d.ts.map +1 -1
- package/dist/Struct.js +9 -71
- package/dist/Struct.js.map +1 -1
- package/dist/SubscriptionRef.d.ts +6 -53
- package/dist/SubscriptionRef.d.ts.map +1 -1
- package/dist/SubscriptionRef.js +6 -53
- package/dist/SubscriptionRef.js.map +1 -1
- package/dist/Symbol.d.ts +0 -17
- package/dist/Symbol.d.ts.map +1 -1
- package/dist/Symbol.js +0 -17
- package/dist/Symbol.js.map +1 -1
- package/dist/SynchronizedRef.d.ts +8 -21
- package/dist/SynchronizedRef.d.ts.map +1 -1
- package/dist/SynchronizedRef.js +8 -21
- package/dist/SynchronizedRef.js.map +1 -1
- package/dist/Take.d.ts +0 -24
- package/dist/Take.d.ts.map +1 -1
- package/dist/Take.js.map +1 -1
- package/dist/Terminal.d.ts +7 -28
- package/dist/Terminal.d.ts.map +1 -1
- package/dist/Terminal.js.map +1 -1
- package/dist/Tracer.d.ts +6 -36
- package/dist/Tracer.d.ts.map +1 -1
- package/dist/Tracer.js +6 -36
- package/dist/Tracer.js.map +1 -1
- package/dist/Trie.d.ts +6 -49
- package/dist/Trie.d.ts.map +1 -1
- package/dist/Trie.js.map +1 -1
- package/dist/Tuple.d.ts +8 -66
- package/dist/Tuple.d.ts.map +1 -1
- package/dist/Tuple.js +8 -66
- package/dist/Tuple.js.map +1 -1
- package/dist/TxChunk.d.ts +8 -40
- package/dist/TxChunk.d.ts.map +1 -1
- package/dist/TxChunk.js +8 -40
- package/dist/TxChunk.js.map +1 -1
- package/dist/TxDeferred.d.ts +0 -18
- package/dist/TxDeferred.d.ts.map +1 -1
- package/dist/TxDeferred.js +0 -18
- package/dist/TxDeferred.js.map +1 -1
- package/dist/TxHashMap.d.ts +6 -23
- package/dist/TxHashMap.d.ts.map +1 -1
- package/dist/TxHashMap.js +6 -23
- package/dist/TxHashMap.js.map +1 -1
- package/dist/TxHashSet.d.ts +10 -19
- package/dist/TxHashSet.d.ts.map +1 -1
- package/dist/TxHashSet.js +10 -19
- package/dist/TxHashSet.js.map +1 -1
- package/dist/TxPriorityQueue.d.ts +9 -29
- package/dist/TxPriorityQueue.d.ts.map +1 -1
- package/dist/TxPriorityQueue.js +9 -29
- package/dist/TxPriorityQueue.js.map +1 -1
- package/dist/TxPubSub.d.ts +6 -44
- package/dist/TxPubSub.d.ts.map +1 -1
- package/dist/TxPubSub.js +6 -44
- package/dist/TxPubSub.js.map +1 -1
- package/dist/TxQueue.d.ts +8 -48
- package/dist/TxQueue.d.ts.map +1 -1
- package/dist/TxQueue.js.map +1 -1
- package/dist/TxReentrantLock.d.ts +8 -40
- package/dist/TxReentrantLock.d.ts.map +1 -1
- package/dist/TxReentrantLock.js +8 -40
- package/dist/TxReentrantLock.js.map +1 -1
- package/dist/TxRef.d.ts +9 -59
- package/dist/TxRef.d.ts.map +1 -1
- package/dist/TxRef.js +9 -59
- package/dist/TxRef.js.map +1 -1
- package/dist/TxSemaphore.d.ts +6 -34
- package/dist/TxSemaphore.d.ts.map +1 -1
- package/dist/TxSemaphore.js +6 -34
- package/dist/TxSemaphore.js.map +1 -1
- package/dist/TxSubscriptionRef.d.ts +7 -35
- package/dist/TxSubscriptionRef.d.ts.map +1 -1
- package/dist/TxSubscriptionRef.js +7 -35
- package/dist/TxSubscriptionRef.js.map +1 -1
- package/dist/Types.d.ts +6 -48
- package/dist/Types.d.ts.map +1 -1
- package/dist/Types.js +5 -47
- package/dist/UndefinedOr.d.ts +8 -55
- package/dist/UndefinedOr.d.ts.map +1 -1
- package/dist/UndefinedOr.js +8 -55
- package/dist/UndefinedOr.js.map +1 -1
- package/dist/Unify.d.ts +8 -29
- package/dist/Unify.d.ts.map +1 -1
- package/dist/Unify.js +8 -29
- package/dist/Unify.js.map +1 -1
- package/dist/Utils.d.ts +8 -55
- package/dist/Utils.d.ts.map +1 -1
- package/dist/Utils.js +20 -14
- package/dist/Utils.js.map +1 -1
- package/dist/internal/effect.js +5 -3
- package/dist/internal/effect.js.map +1 -1
- package/dist/internal/option.js +5 -3
- package/dist/internal/option.js.map +1 -1
- package/dist/internal/schema/arbitrary.d.ts +4 -1
- package/dist/internal/schema/arbitrary.d.ts.map +1 -1
- package/dist/internal/schema/arbitrary.js +655 -170
- package/dist/internal/schema/arbitrary.js.map +1 -1
- package/dist/internal/schema/representation.js +1 -1
- package/dist/internal/schema/representation.js.map +1 -1
- package/dist/testing/FastCheck.d.ts +5 -6
- package/dist/testing/FastCheck.d.ts.map +1 -1
- package/dist/testing/FastCheck.js +5 -6
- package/dist/testing/FastCheck.js.map +1 -1
- package/dist/testing/TestClock.d.ts.map +1 -1
- package/dist/testing/TestClock.js +8 -23
- package/dist/testing/TestClock.js.map +1 -1
- package/dist/testing/TestConsole.d.ts.map +1 -1
- package/dist/testing/TestConsole.js +7 -36
- package/dist/testing/TestConsole.js.map +1 -1
- package/dist/testing/TestSchema.d.ts.map +1 -1
- package/dist/testing/TestSchema.js +6 -63
- package/dist/testing/TestSchema.js.map +1 -1
- package/dist/unstable/ai/AiError.d.ts +9 -78
- package/dist/unstable/ai/AiError.d.ts.map +1 -1
- package/dist/unstable/ai/AiError.js +9 -78
- package/dist/unstable/ai/AiError.js.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/AnthropicStructuredOutput.js +7 -32
- package/dist/unstable/ai/AnthropicStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Chat.d.ts.map +1 -1
- package/dist/unstable/ai/Chat.js +0 -46
- package/dist/unstable/ai/Chat.js.map +1 -1
- package/dist/unstable/ai/EmbeddingModel.d.ts +8 -45
- package/dist/unstable/ai/EmbeddingModel.d.ts.map +1 -1
- package/dist/unstable/ai/EmbeddingModel.js +8 -45
- package/dist/unstable/ai/EmbeddingModel.js.map +1 -1
- package/dist/unstable/ai/IdGenerator.d.ts +6 -44
- package/dist/unstable/ai/IdGenerator.d.ts.map +1 -1
- package/dist/unstable/ai/IdGenerator.js +6 -44
- package/dist/unstable/ai/IdGenerator.js.map +1 -1
- package/dist/unstable/ai/LanguageModel.d.ts.map +1 -1
- package/dist/unstable/ai/LanguageModel.js.map +1 -1
- package/dist/unstable/ai/McpSchema.d.ts +8 -27
- package/dist/unstable/ai/McpSchema.d.ts.map +1 -1
- package/dist/unstable/ai/McpSchema.js +8 -27
- package/dist/unstable/ai/McpSchema.js.map +1 -1
- package/dist/unstable/ai/McpServer.d.ts.map +1 -1
- package/dist/unstable/ai/McpServer.js +8 -22
- package/dist/unstable/ai/McpServer.js.map +1 -1
- package/dist/unstable/ai/Model.d.ts +8 -49
- package/dist/unstable/ai/Model.d.ts.map +1 -1
- package/dist/unstable/ai/Model.js +8 -49
- package/dist/unstable/ai/Model.js.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.d.ts.map +1 -1
- package/dist/unstable/ai/OpenAiStructuredOutput.js +9 -50
- package/dist/unstable/ai/OpenAiStructuredOutput.js.map +1 -1
- package/dist/unstable/ai/Prompt.d.ts.map +1 -1
- package/dist/unstable/ai/Prompt.js +6 -50
- package/dist/unstable/ai/Prompt.js.map +1 -1
- package/dist/unstable/ai/Response.d.ts +8 -49
- package/dist/unstable/ai/Response.d.ts.map +1 -1
- package/dist/unstable/ai/Response.js.map +1 -1
- package/dist/unstable/ai/ResponseIdTracker.d.ts +0 -26
- package/dist/unstable/ai/ResponseIdTracker.d.ts.map +1 -1
- package/dist/unstable/ai/ResponseIdTracker.js +0 -26
- package/dist/unstable/ai/ResponseIdTracker.js.map +1 -1
- package/dist/unstable/ai/Telemetry.d.ts +6 -30
- package/dist/unstable/ai/Telemetry.d.ts.map +1 -1
- package/dist/unstable/ai/Telemetry.js +6 -30
- package/dist/unstable/ai/Telemetry.js.map +1 -1
- package/dist/unstable/ai/Tokenizer.d.ts +8 -46
- package/dist/unstable/ai/Tokenizer.d.ts.map +1 -1
- package/dist/unstable/ai/Tokenizer.js +8 -46
- package/dist/unstable/ai/Tokenizer.js.map +1 -1
- package/dist/unstable/ai/Tool.d.ts +9 -54
- package/dist/unstable/ai/Tool.d.ts.map +1 -1
- package/dist/unstable/ai/Tool.js +9 -54
- package/dist/unstable/ai/Tool.js.map +1 -1
- package/dist/unstable/ai/Toolkit.d.ts.map +1 -1
- package/dist/unstable/ai/Toolkit.js.map +1 -1
- package/dist/unstable/cli/Argument.d.ts +6 -20
- package/dist/unstable/cli/Argument.d.ts.map +1 -1
- package/dist/unstable/cli/Argument.js.map +1 -1
- package/dist/unstable/cli/CliError.d.ts.map +1 -1
- package/dist/unstable/cli/CliError.js +8 -23
- package/dist/unstable/cli/CliError.js.map +1 -1
- package/dist/unstable/cli/CliOutput.d.ts +6 -19
- package/dist/unstable/cli/CliOutput.d.ts.map +1 -1
- package/dist/unstable/cli/CliOutput.js +6 -19
- package/dist/unstable/cli/CliOutput.js.map +1 -1
- package/dist/unstable/cli/Command.d.ts +8 -27
- package/dist/unstable/cli/Command.d.ts.map +1 -1
- package/dist/unstable/cli/Command.js.map +1 -1
- package/dist/unstable/cli/Completions.d.ts.map +1 -1
- package/dist/unstable/cli/Completions.js +0 -24
- package/dist/unstable/cli/Completions.js.map +1 -1
- package/dist/unstable/cli/Flag.d.ts +8 -18
- package/dist/unstable/cli/Flag.d.ts.map +1 -1
- package/dist/unstable/cli/Flag.js.map +1 -1
- package/dist/unstable/cli/GlobalFlag.d.ts +8 -22
- package/dist/unstable/cli/GlobalFlag.d.ts.map +1 -1
- package/dist/unstable/cli/GlobalFlag.js +9 -23
- package/dist/unstable/cli/GlobalFlag.js.map +1 -1
- package/dist/unstable/cli/HelpDoc.d.ts +6 -19
- package/dist/unstable/cli/HelpDoc.d.ts.map +1 -1
- package/dist/unstable/cli/HelpDoc.js +6 -19
- package/dist/unstable/cli/Param.d.ts +8 -25
- package/dist/unstable/cli/Param.d.ts.map +1 -1
- package/dist/unstable/cli/Param.js +8 -25
- package/dist/unstable/cli/Param.js.map +1 -1
- package/dist/unstable/cli/Primitive.d.ts.map +1 -1
- package/dist/unstable/cli/Primitive.js +8 -58
- package/dist/unstable/cli/Primitive.js.map +1 -1
- package/dist/unstable/cli/Prompt.d.ts.map +1 -1
- package/dist/unstable/cli/Prompt.js +7 -22
- package/dist/unstable/cli/Prompt.js.map +1 -1
- package/dist/unstable/cluster/ClusterCron.d.ts +6 -26
- package/dist/unstable/cluster/ClusterCron.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterCron.js +6 -26
- package/dist/unstable/cluster/ClusterCron.js.map +1 -1
- package/dist/unstable/cluster/ClusterError.d.ts +5 -40
- package/dist/unstable/cluster/ClusterError.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterError.js +5 -40
- package/dist/unstable/cluster/ClusterError.js.map +1 -1
- package/dist/unstable/cluster/ClusterMetrics.d.ts +6 -20
- package/dist/unstable/cluster/ClusterMetrics.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterMetrics.js +6 -20
- package/dist/unstable/cluster/ClusterMetrics.js.map +1 -1
- package/dist/unstable/cluster/ClusterSchema.d.ts +0 -38
- package/dist/unstable/cluster/ClusterSchema.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterSchema.js +0 -38
- package/dist/unstable/cluster/ClusterSchema.js.map +1 -1
- package/dist/unstable/cluster/ClusterWorkflowEngine.d.ts.map +1 -1
- package/dist/unstable/cluster/ClusterWorkflowEngine.js +0 -16
- package/dist/unstable/cluster/ClusterWorkflowEngine.js.map +1 -1
- package/dist/unstable/cluster/DeliverAt.d.ts +0 -17
- package/dist/unstable/cluster/DeliverAt.d.ts.map +1 -1
- package/dist/unstable/cluster/DeliverAt.js.map +1 -1
- package/dist/unstable/cluster/Entity.d.ts.map +1 -1
- package/dist/unstable/cluster/Entity.js +8 -31
- package/dist/unstable/cluster/Entity.js.map +1 -1
- package/dist/unstable/cluster/EntityAddress.d.ts +0 -13
- package/dist/unstable/cluster/EntityAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityAddress.js +0 -13
- package/dist/unstable/cluster/EntityAddress.js.map +1 -1
- package/dist/unstable/cluster/EntityId.d.ts +0 -24
- package/dist/unstable/cluster/EntityId.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityId.js +0 -24
- package/dist/unstable/cluster/EntityId.js.map +1 -1
- package/dist/unstable/cluster/EntityProxy.d.ts +7 -21
- package/dist/unstable/cluster/EntityProxy.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityProxy.js +6 -20
- package/dist/unstable/cluster/EntityProxy.js.map +1 -1
- package/dist/unstable/cluster/EntityProxyServer.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityProxyServer.js +7 -19
- package/dist/unstable/cluster/EntityProxyServer.js.map +1 -1
- package/dist/unstable/cluster/EntityResource.d.ts +8 -22
- package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityResource.js.map +1 -1
- package/dist/unstable/cluster/EntityType.d.ts +0 -13
- package/dist/unstable/cluster/EntityType.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityType.js +0 -13
- package/dist/unstable/cluster/EntityType.js.map +1 -1
- package/dist/unstable/cluster/Envelope.d.ts.map +1 -1
- package/dist/unstable/cluster/Envelope.js +7 -22
- package/dist/unstable/cluster/Envelope.js.map +1 -1
- package/dist/unstable/cluster/HttpRunner.d.ts +5 -32
- package/dist/unstable/cluster/HttpRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/HttpRunner.js +5 -32
- package/dist/unstable/cluster/HttpRunner.js.map +1 -1
- package/dist/unstable/cluster/K8sHttpClient.d.ts +0 -32
- package/dist/unstable/cluster/K8sHttpClient.d.ts.map +1 -1
- package/dist/unstable/cluster/K8sHttpClient.js.map +1 -1
- package/dist/unstable/cluster/MachineId.d.ts +0 -20
- package/dist/unstable/cluster/MachineId.d.ts.map +1 -1
- package/dist/unstable/cluster/MachineId.js +0 -20
- package/dist/unstable/cluster/MachineId.js.map +1 -1
- package/dist/unstable/cluster/Message.d.ts +7 -23
- package/dist/unstable/cluster/Message.d.ts.map +1 -1
- package/dist/unstable/cluster/Message.js +7 -23
- package/dist/unstable/cluster/Message.js.map +1 -1
- package/dist/unstable/cluster/MessageStorage.d.ts +8 -37
- package/dist/unstable/cluster/MessageStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/MessageStorage.js +7 -36
- package/dist/unstable/cluster/MessageStorage.js.map +1 -1
- package/dist/unstable/cluster/Reply.d.ts +7 -19
- package/dist/unstable/cluster/Reply.d.ts.map +1 -1
- package/dist/unstable/cluster/Reply.js.map +1 -1
- package/dist/unstable/cluster/Runner.d.ts +3 -35
- package/dist/unstable/cluster/Runner.d.ts.map +1 -1
- package/dist/unstable/cluster/Runner.js +3 -35
- package/dist/unstable/cluster/Runner.js.map +1 -1
- package/dist/unstable/cluster/RunnerAddress.d.ts +4 -32
- package/dist/unstable/cluster/RunnerAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerAddress.js +4 -32
- package/dist/unstable/cluster/RunnerAddress.js.map +1 -1
- package/dist/unstable/cluster/RunnerHealth.d.ts +6 -35
- package/dist/unstable/cluster/RunnerHealth.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerHealth.js +6 -35
- package/dist/unstable/cluster/RunnerHealth.js.map +1 -1
- package/dist/unstable/cluster/RunnerServer.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerServer.js +8 -23
- package/dist/unstable/cluster/RunnerServer.js.map +1 -1
- package/dist/unstable/cluster/RunnerStorage.d.ts +6 -21
- package/dist/unstable/cluster/RunnerStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/RunnerStorage.js +6 -21
- package/dist/unstable/cluster/RunnerStorage.js.map +1 -1
- package/dist/unstable/cluster/Runners.d.ts +8 -29
- package/dist/unstable/cluster/Runners.d.ts.map +1 -1
- package/dist/unstable/cluster/Runners.js +7 -28
- package/dist/unstable/cluster/Runners.js.map +1 -1
- package/dist/unstable/cluster/ShardId.d.ts +0 -17
- package/dist/unstable/cluster/ShardId.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardId.js +0 -17
- package/dist/unstable/cluster/ShardId.js.map +1 -1
- package/dist/unstable/cluster/Sharding.d.ts.map +1 -1
- package/dist/unstable/cluster/Sharding.js +7 -39
- package/dist/unstable/cluster/Sharding.js.map +1 -1
- package/dist/unstable/cluster/ShardingConfig.d.ts +7 -34
- package/dist/unstable/cluster/ShardingConfig.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardingConfig.js +8 -35
- package/dist/unstable/cluster/ShardingConfig.js.map +1 -1
- package/dist/unstable/cluster/ShardingRegistrationEvent.d.ts +0 -22
- package/dist/unstable/cluster/ShardingRegistrationEvent.d.ts.map +1 -1
- package/dist/unstable/cluster/ShardingRegistrationEvent.js +0 -22
- package/dist/unstable/cluster/ShardingRegistrationEvent.js.map +1 -1
- package/dist/unstable/cluster/SingleRunner.d.ts +8 -21
- package/dist/unstable/cluster/SingleRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/SingleRunner.js +8 -21
- package/dist/unstable/cluster/SingleRunner.js.map +1 -1
- package/dist/unstable/cluster/Singleton.d.ts +0 -23
- package/dist/unstable/cluster/Singleton.d.ts.map +1 -1
- package/dist/unstable/cluster/Singleton.js +0 -23
- package/dist/unstable/cluster/Singleton.js.map +1 -1
- package/dist/unstable/cluster/SingletonAddress.d.ts +0 -22
- package/dist/unstable/cluster/SingletonAddress.d.ts.map +1 -1
- package/dist/unstable/cluster/SingletonAddress.js +0 -22
- package/dist/unstable/cluster/SingletonAddress.js.map +1 -1
- package/dist/unstable/cluster/Snowflake.d.ts +8 -17
- package/dist/unstable/cluster/Snowflake.d.ts.map +1 -1
- package/dist/unstable/cluster/Snowflake.js.map +1 -1
- package/dist/unstable/cluster/SocketRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/SocketRunner.js +6 -19
- package/dist/unstable/cluster/SocketRunner.js.map +1 -1
- package/dist/unstable/cluster/SqlMessageStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/SqlMessageStorage.js +7 -36
- package/dist/unstable/cluster/SqlMessageStorage.js.map +1 -1
- package/dist/unstable/cluster/SqlRunnerStorage.d.ts.map +1 -1
- package/dist/unstable/cluster/SqlRunnerStorage.js +6 -27
- package/dist/unstable/cluster/SqlRunnerStorage.js.map +1 -1
- package/dist/unstable/cluster/TestRunner.d.ts +0 -21
- package/dist/unstable/cluster/TestRunner.d.ts.map +1 -1
- package/dist/unstable/cluster/TestRunner.js +0 -21
- package/dist/unstable/cluster/TestRunner.js.map +1 -1
- package/dist/unstable/cluster/internal/entityManager.js +18 -6
- package/dist/unstable/cluster/internal/entityManager.js.map +1 -1
- package/dist/unstable/devtools/DevTools.d.ts +0 -17
- package/dist/unstable/devtools/DevTools.d.ts.map +1 -1
- package/dist/unstable/devtools/DevTools.js +0 -17
- package/dist/unstable/devtools/DevTools.js.map +1 -1
- package/dist/unstable/devtools/DevToolsClient.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsClient.js +0 -24
- package/dist/unstable/devtools/DevToolsClient.js.map +1 -1
- package/dist/unstable/devtools/DevToolsSchema.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsSchema.js +0 -17
- package/dist/unstable/devtools/DevToolsSchema.js.map +1 -1
- package/dist/unstable/devtools/DevToolsServer.d.ts +0 -13
- package/dist/unstable/devtools/DevToolsServer.d.ts.map +1 -1
- package/dist/unstable/devtools/DevToolsServer.js +0 -13
- package/dist/unstable/devtools/DevToolsServer.js.map +1 -1
- package/dist/unstable/encoding/Msgpack.d.ts.map +1 -1
- package/dist/unstable/encoding/Msgpack.js +5 -28
- package/dist/unstable/encoding/Msgpack.js.map +1 -1
- package/dist/unstable/encoding/Ndjson.d.ts +4 -28
- package/dist/unstable/encoding/Ndjson.d.ts.map +1 -1
- package/dist/unstable/encoding/Ndjson.js +4 -28
- package/dist/unstable/encoding/Ndjson.js.map +1 -1
- package/dist/unstable/encoding/Sse.d.ts +6 -37
- package/dist/unstable/encoding/Sse.d.ts.map +1 -1
- package/dist/unstable/encoding/Sse.js.map +1 -1
- package/dist/unstable/eventlog/Event.d.ts.map +1 -1
- package/dist/unstable/eventlog/Event.js +3 -25
- package/dist/unstable/eventlog/Event.js.map +1 -1
- package/dist/unstable/eventlog/EventGroup.d.ts +6 -21
- package/dist/unstable/eventlog/EventGroup.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventGroup.js +6 -21
- package/dist/unstable/eventlog/EventGroup.js.map +1 -1
- package/dist/unstable/eventlog/EventJournal.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventJournal.js +9 -32
- package/dist/unstable/eventlog/EventJournal.js.map +1 -1
- package/dist/unstable/eventlog/EventLog.d.ts +6 -28
- package/dist/unstable/eventlog/EventLog.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLog.js +6 -28
- package/dist/unstable/eventlog/EventLog.js.map +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.d.ts +5 -18
- package/dist/unstable/eventlog/EventLogEncryption.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.js +5 -18
- package/dist/unstable/eventlog/EventLogEncryption.js.map +1 -1
- package/dist/unstable/eventlog/EventLogMessage.d.ts +4 -20
- package/dist/unstable/eventlog/EventLogMessage.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogMessage.js.map +1 -1
- package/dist/unstable/eventlog/EventLogRemote.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogRemote.js +7 -17
- package/dist/unstable/eventlog/EventLogRemote.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServer.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServer.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServerEncrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServerEncrypted.js +8 -19
- package/dist/unstable/eventlog/EventLogServerEncrypted.js.map +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js +7 -35
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js.map +1 -1
- package/dist/unstable/eventlog/EventLogSessionAuth.d.ts.map +1 -1
- package/dist/unstable/eventlog/EventLogSessionAuth.js +6 -35
- package/dist/unstable/eventlog/EventLogSessionAuth.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventJournal.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventJournal.js +0 -26
- package/dist/unstable/eventlog/SqlEventJournal.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts +6 -39
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js +6 -39
- package/dist/unstable/eventlog/SqlEventLogServerEncrypted.js.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.d.ts.map +1 -1
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js +0 -29
- package/dist/unstable/eventlog/SqlEventLogServerUnencrypted.js.map +1 -1
- package/dist/unstable/http/Cookies.d.ts +7 -59
- package/dist/unstable/http/Cookies.d.ts.map +1 -1
- package/dist/unstable/http/Cookies.js +7 -59
- package/dist/unstable/http/Cookies.js.map +1 -1
- package/dist/unstable/http/Etag.d.ts +0 -22
- package/dist/unstable/http/Etag.d.ts.map +1 -1
- package/dist/unstable/http/Etag.js +0 -22
- package/dist/unstable/http/Etag.js.map +1 -1
- package/dist/unstable/http/FetchHttpClient.d.ts +0 -23
- package/dist/unstable/http/FetchHttpClient.d.ts.map +1 -1
- package/dist/unstable/http/FetchHttpClient.js +0 -23
- package/dist/unstable/http/FetchHttpClient.js.map +1 -1
- package/dist/unstable/http/FindMyWay.d.ts +6 -0
- package/dist/unstable/http/FindMyWay.d.ts.map +1 -1
- package/dist/unstable/http/FindMyWay.js +6 -0
- package/dist/unstable/http/FindMyWay.js.map +1 -1
- package/dist/unstable/http/Headers.d.ts +6 -52
- package/dist/unstable/http/Headers.d.ts.map +1 -1
- package/dist/unstable/http/Headers.js +9 -53
- package/dist/unstable/http/Headers.js.map +1 -1
- package/dist/unstable/http/HttpBody.d.ts.map +1 -1
- package/dist/unstable/http/HttpBody.js +9 -53
- package/dist/unstable/http/HttpBody.js.map +1 -1
- package/dist/unstable/http/HttpClient.d.ts +9 -34
- package/dist/unstable/http/HttpClient.d.ts.map +1 -1
- package/dist/unstable/http/HttpClient.js.map +1 -1
- package/dist/unstable/http/HttpClientError.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientError.js +0 -20
- package/dist/unstable/http/HttpClientError.js.map +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts +4 -35
- package/dist/unstable/http/HttpClientRequest.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientRequest.js +4 -35
- package/dist/unstable/http/HttpClientRequest.js.map +1 -1
- package/dist/unstable/http/HttpClientResponse.d.ts +6 -34
- package/dist/unstable/http/HttpClientResponse.d.ts.map +1 -1
- package/dist/unstable/http/HttpClientResponse.js +6 -34
- package/dist/unstable/http/HttpClientResponse.js.map +1 -1
- package/dist/unstable/http/HttpEffect.d.ts.map +1 -1
- package/dist/unstable/http/HttpEffect.js.map +1 -1
- package/dist/unstable/http/HttpIncomingMessage.d.ts +6 -22
- package/dist/unstable/http/HttpIncomingMessage.d.ts.map +1 -1
- package/dist/unstable/http/HttpIncomingMessage.js +6 -22
- package/dist/unstable/http/HttpIncomingMessage.js.map +1 -1
- package/dist/unstable/http/HttpMethod.d.ts +5 -29
- package/dist/unstable/http/HttpMethod.d.ts.map +1 -1
- package/dist/unstable/http/HttpMethod.js +5 -29
- package/dist/unstable/http/HttpMethod.js.map +1 -1
- package/dist/unstable/http/HttpMiddleware.d.ts.map +1 -1
- package/dist/unstable/http/HttpMiddleware.js +6 -19
- package/dist/unstable/http/HttpMiddleware.js.map +1 -1
- package/dist/unstable/http/HttpPlatform.d.ts +0 -13
- package/dist/unstable/http/HttpPlatform.d.ts.map +1 -1
- package/dist/unstable/http/HttpPlatform.js +0 -13
- package/dist/unstable/http/HttpPlatform.js.map +1 -1
- package/dist/unstable/http/HttpRouter.d.ts.map +1 -1
- package/dist/unstable/http/HttpRouter.js +7 -39
- package/dist/unstable/http/HttpRouter.js.map +1 -1
- package/dist/unstable/http/HttpServer.d.ts +6 -29
- package/dist/unstable/http/HttpServer.d.ts.map +1 -1
- package/dist/unstable/http/HttpServer.js +6 -29
- package/dist/unstable/http/HttpServer.js.map +1 -1
- package/dist/unstable/http/HttpServerError.d.ts +6 -30
- package/dist/unstable/http/HttpServerError.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerError.js +6 -30
- package/dist/unstable/http/HttpServerError.js.map +1 -1
- package/dist/unstable/http/HttpServerRequest.d.ts +8 -33
- package/dist/unstable/http/HttpServerRequest.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerRequest.js.map +1 -1
- package/dist/unstable/http/HttpServerRespondable.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerRespondable.js +5 -29
- package/dist/unstable/http/HttpServerRespondable.js.map +1 -1
- package/dist/unstable/http/HttpServerResponse.d.ts +8 -41
- package/dist/unstable/http/HttpServerResponse.d.ts.map +1 -1
- package/dist/unstable/http/HttpServerResponse.js +8 -41
- package/dist/unstable/http/HttpServerResponse.js.map +1 -1
- package/dist/unstable/http/HttpStaticServer.d.ts +6 -31
- package/dist/unstable/http/HttpStaticServer.d.ts.map +1 -1
- package/dist/unstable/http/HttpStaticServer.js +6 -31
- package/dist/unstable/http/HttpStaticServer.js.map +1 -1
- package/dist/unstable/http/HttpTraceContext.d.ts +0 -24
- package/dist/unstable/http/HttpTraceContext.d.ts.map +1 -1
- package/dist/unstable/http/HttpTraceContext.js +0 -24
- package/dist/unstable/http/HttpTraceContext.js.map +1 -1
- package/dist/unstable/http/Multipart.d.ts +6 -35
- package/dist/unstable/http/Multipart.d.ts.map +1 -1
- package/dist/unstable/http/Multipart.js +6 -35
- package/dist/unstable/http/Multipart.js.map +1 -1
- package/dist/unstable/http/Multipasta/HeadersParser.d.ts +5 -0
- package/dist/unstable/http/Multipasta/HeadersParser.d.ts.map +1 -1
- package/dist/unstable/http/Multipasta/HeadersParser.js +5 -0
- package/dist/unstable/http/Multipasta/HeadersParser.js.map +1 -1
- package/dist/unstable/http/Multipasta/Node.d.ts +5 -0
- package/dist/unstable/http/Multipasta/Node.d.ts.map +1 -1
- package/dist/unstable/http/Multipasta/Node.js +5 -0
- package/dist/unstable/http/Multipasta/Node.js.map +1 -1
- package/dist/unstable/http/Multipasta/Search.d.ts +5 -0
- package/dist/unstable/http/Multipasta/Search.d.ts.map +1 -1
- package/dist/unstable/http/Multipasta/Search.js +5 -0
- package/dist/unstable/http/Multipasta/Search.js.map +1 -1
- package/dist/unstable/http/Multipasta/Web.d.ts +5 -0
- package/dist/unstable/http/Multipasta/Web.d.ts.map +1 -1
- package/dist/unstable/http/Multipasta/Web.js +5 -0
- package/dist/unstable/http/Multipasta/Web.js.map +1 -1
- package/dist/unstable/http/Multipasta.d.ts +6 -0
- package/dist/unstable/http/Multipasta.d.ts.map +1 -1
- package/dist/unstable/http/Multipasta.js +6 -0
- package/dist/unstable/http/Multipasta.js.map +1 -1
- package/dist/unstable/http/Template.d.ts +5 -26
- package/dist/unstable/http/Template.d.ts.map +1 -1
- package/dist/unstable/http/Template.js +5 -26
- package/dist/unstable/http/Template.js.map +1 -1
- package/dist/unstable/http/Url.d.ts +5 -28
- package/dist/unstable/http/Url.d.ts.map +1 -1
- package/dist/unstable/http/Url.js +5 -28
- package/dist/unstable/http/Url.js.map +1 -1
- package/dist/unstable/http/UrlParams.d.ts +4 -32
- package/dist/unstable/http/UrlParams.d.ts.map +1 -1
- package/dist/unstable/http/UrlParams.js +4 -32
- package/dist/unstable/http/UrlParams.js.map +1 -1
- package/dist/unstable/httpapi/HttpApi.d.ts +5 -45
- package/dist/unstable/httpapi/HttpApi.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApi.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiBuilder.js +5 -39
- package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiClient.js +20 -43
- package/dist/unstable/httpapi/HttpApiClient.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiEndpoint.js +9 -51
- package/dist/unstable/httpapi/HttpApiEndpoint.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.js +1 -32
- package/dist/unstable/httpapi/HttpApiError.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiGroup.d.ts +8 -34
- package/dist/unstable/httpapi/HttpApiGroup.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiGroup.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts +9 -48
- package/dist/unstable/httpapi/HttpApiMiddleware.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiMiddleware.js +9 -48
- package/dist/unstable/httpapi/HttpApiMiddleware.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiScalar.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiScalar.js +0 -24
- package/dist/unstable/httpapi/HttpApiScalar.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.d.ts +0 -32
- package/dist/unstable/httpapi/HttpApiSchema.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSchema.js +0 -32
- package/dist/unstable/httpapi/HttpApiSchema.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts +0 -29
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.js +0 -29
- package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiSwagger.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSwagger.js +0 -24
- package/dist/unstable/httpapi/HttpApiSwagger.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiTest.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiTest.js +5 -18
- package/dist/unstable/httpapi/HttpApiTest.js.map +1 -1
- package/dist/unstable/httpapi/OpenApi.d.ts.map +1 -1
- package/dist/unstable/httpapi/OpenApi.js +5 -39
- package/dist/unstable/httpapi/OpenApi.js.map +1 -1
- package/dist/unstable/observability/Otlp.d.ts +5 -32
- package/dist/unstable/observability/Otlp.d.ts.map +1 -1
- package/dist/unstable/observability/Otlp.js.map +1 -1
- package/dist/unstable/observability/OtlpExporter.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpExporter.js +5 -22
- package/dist/unstable/observability/OtlpExporter.js.map +1 -1
- package/dist/unstable/observability/OtlpLogger.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpLogger.js +5 -31
- package/dist/unstable/observability/OtlpLogger.js.map +1 -1
- package/dist/unstable/observability/OtlpMetrics.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpMetrics.js +8 -20
- package/dist/unstable/observability/OtlpMetrics.js.map +1 -1
- package/dist/unstable/observability/OtlpResource.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpResource.js +5 -35
- package/dist/unstable/observability/OtlpResource.js.map +1 -1
- package/dist/unstable/observability/OtlpSerialization.d.ts +4 -26
- package/dist/unstable/observability/OtlpSerialization.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpSerialization.js +4 -26
- package/dist/unstable/observability/OtlpSerialization.js.map +1 -1
- package/dist/unstable/observability/OtlpTracer.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpTracer.js +7 -20
- package/dist/unstable/observability/OtlpTracer.js.map +1 -1
- package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -41
- package/dist/unstable/observability/PrometheusMetrics.d.ts.map +1 -1
- package/dist/unstable/observability/PrometheusMetrics.js.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.d.ts +8 -20
- package/dist/unstable/persistence/KeyValueStore.d.ts.map +1 -1
- package/dist/unstable/persistence/KeyValueStore.js +7 -19
- package/dist/unstable/persistence/KeyValueStore.js.map +1 -1
- package/dist/unstable/persistence/Persistable.d.ts +5 -19
- package/dist/unstable/persistence/Persistable.d.ts.map +1 -1
- package/dist/unstable/persistence/Persistable.js.map +1 -1
- package/dist/unstable/persistence/PersistedCache.d.ts +5 -28
- package/dist/unstable/persistence/PersistedCache.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedCache.js +5 -28
- package/dist/unstable/persistence/PersistedCache.js.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.d.ts.map +1 -1
- package/dist/unstable/persistence/PersistedQueue.js.map +1 -1
- package/dist/unstable/persistence/Persistence.d.ts +6 -22
- package/dist/unstable/persistence/Persistence.d.ts.map +1 -1
- package/dist/unstable/persistence/Persistence.js +5 -21
- package/dist/unstable/persistence/Persistence.js.map +1 -1
- package/dist/unstable/persistence/RateLimiter.d.ts +8 -24
- package/dist/unstable/persistence/RateLimiter.d.ts.map +1 -1
- package/dist/unstable/persistence/RateLimiter.js +17 -35
- package/dist/unstable/persistence/RateLimiter.js.map +1 -1
- package/dist/unstable/persistence/Redis.d.ts.map +1 -1
- package/dist/unstable/persistence/Redis.js +6 -32
- package/dist/unstable/persistence/Redis.js.map +1 -1
- package/dist/unstable/process/ChildProcess.d.ts.map +1 -1
- package/dist/unstable/process/ChildProcess.js +6 -38
- package/dist/unstable/process/ChildProcess.js.map +1 -1
- package/dist/unstable/process/ChildProcessSpawner.d.ts +7 -15
- package/dist/unstable/process/ChildProcessSpawner.d.ts.map +1 -1
- package/dist/unstable/process/ChildProcessSpawner.js +7 -15
- package/dist/unstable/process/ChildProcessSpawner.js.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.d.ts +8 -40
- package/dist/unstable/reactivity/AsyncResult.d.ts.map +1 -1
- package/dist/unstable/reactivity/AsyncResult.js +8 -40
- package/dist/unstable/reactivity/AsyncResult.js.map +1 -1
- package/dist/unstable/reactivity/Atom.d.ts +8 -36
- package/dist/unstable/reactivity/Atom.d.ts.map +1 -1
- package/dist/unstable/reactivity/Atom.js +8 -36
- package/dist/unstable/reactivity/Atom.js.map +1 -1
- package/dist/unstable/reactivity/AtomHttpApi.d.ts +6 -25
- package/dist/unstable/reactivity/AtomHttpApi.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomHttpApi.js +6 -25
- package/dist/unstable/reactivity/AtomHttpApi.js.map +1 -1
- package/dist/unstable/reactivity/AtomRef.d.ts +4 -29
- package/dist/unstable/reactivity/AtomRef.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomRef.js +4 -29
- package/dist/unstable/reactivity/AtomRef.js.map +1 -1
- package/dist/unstable/reactivity/AtomRegistry.d.ts +7 -74
- package/dist/unstable/reactivity/AtomRegistry.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomRegistry.js +6 -73
- package/dist/unstable/reactivity/AtomRegistry.js.map +1 -1
- package/dist/unstable/reactivity/AtomRpc.d.ts +6 -20
- package/dist/unstable/reactivity/AtomRpc.d.ts.map +1 -1
- package/dist/unstable/reactivity/AtomRpc.js +6 -20
- package/dist/unstable/reactivity/AtomRpc.js.map +1 -1
- package/dist/unstable/reactivity/Hydration.d.ts.map +1 -1
- package/dist/unstable/reactivity/Hydration.js +8 -31
- package/dist/unstable/reactivity/Hydration.js.map +1 -1
- package/dist/unstable/reactivity/Reactivity.d.ts +6 -37
- package/dist/unstable/reactivity/Reactivity.d.ts.map +1 -1
- package/dist/unstable/reactivity/Reactivity.js +6 -37
- package/dist/unstable/reactivity/Reactivity.js.map +1 -1
- package/dist/unstable/rpc/Rpc.d.ts +8 -40
- package/dist/unstable/rpc/Rpc.d.ts.map +1 -1
- package/dist/unstable/rpc/Rpc.js.map +1 -1
- package/dist/unstable/rpc/RpcClient.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcClient.js.map +1 -1
- package/dist/unstable/rpc/RpcClientError.d.ts +0 -23
- package/dist/unstable/rpc/RpcClientError.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcClientError.js +0 -23
- package/dist/unstable/rpc/RpcClientError.js.map +1 -1
- package/dist/unstable/rpc/RpcGroup.d.ts +5 -30
- package/dist/unstable/rpc/RpcGroup.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcGroup.js.map +1 -1
- package/dist/unstable/rpc/RpcMessage.d.ts +0 -26
- package/dist/unstable/rpc/RpcMessage.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcMessage.js.map +1 -1
- package/dist/unstable/rpc/RpcMiddleware.d.ts +0 -28
- package/dist/unstable/rpc/RpcMiddleware.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcMiddleware.js +0 -28
- package/dist/unstable/rpc/RpcMiddleware.js.map +1 -1
- package/dist/unstable/rpc/RpcSchema.d.ts +0 -25
- package/dist/unstable/rpc/RpcSchema.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSchema.js +0 -25
- package/dist/unstable/rpc/RpcSchema.js.map +1 -1
- package/dist/unstable/rpc/RpcSerialization.d.ts +7 -33
- package/dist/unstable/rpc/RpcSerialization.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcSerialization.js +6 -32
- package/dist/unstable/rpc/RpcSerialization.js.map +1 -1
- package/dist/unstable/rpc/RpcServer.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcServer.js.map +1 -1
- package/dist/unstable/rpc/RpcTest.d.ts +0 -24
- package/dist/unstable/rpc/RpcTest.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcTest.js +0 -24
- package/dist/unstable/rpc/RpcTest.js.map +1 -1
- package/dist/unstable/rpc/RpcWorker.d.ts +6 -30
- package/dist/unstable/rpc/RpcWorker.d.ts.map +1 -1
- package/dist/unstable/rpc/RpcWorker.js.map +1 -1
- package/dist/unstable/rpc/Utils.d.ts.map +1 -1
- package/dist/unstable/rpc/Utils.js.map +1 -1
- package/dist/unstable/schema/Model.d.ts +20 -3
- package/dist/unstable/schema/Model.d.ts.map +1 -1
- package/dist/unstable/schema/Model.js +18 -17
- package/dist/unstable/schema/Model.js.map +1 -1
- package/dist/unstable/schema/VariantSchema.d.ts +5 -17
- package/dist/unstable/schema/VariantSchema.d.ts.map +1 -1
- package/dist/unstable/schema/VariantSchema.js.map +1 -1
- package/dist/unstable/socket/Socket.d.ts +6 -21
- package/dist/unstable/socket/Socket.d.ts.map +1 -1
- package/dist/unstable/socket/Socket.js.map +1 -1
- package/dist/unstable/socket/SocketServer.d.ts +6 -20
- package/dist/unstable/socket/SocketServer.d.ts.map +1 -1
- package/dist/unstable/socket/SocketServer.js +6 -20
- package/dist/unstable/socket/SocketServer.js.map +1 -1
- package/dist/unstable/sql/Migrator.d.ts.map +1 -1
- package/dist/unstable/sql/Migrator.js +5 -40
- package/dist/unstable/sql/Migrator.js.map +1 -1
- package/dist/unstable/sql/SqlClient.d.ts.map +1 -1
- package/dist/unstable/sql/SqlClient.js +5 -19
- package/dist/unstable/sql/SqlClient.js.map +1 -1
- package/dist/unstable/sql/SqlConnection.d.ts +6 -18
- package/dist/unstable/sql/SqlConnection.d.ts.map +1 -1
- package/dist/unstable/sql/SqlConnection.js +6 -18
- package/dist/unstable/sql/SqlConnection.js.map +1 -1
- package/dist/unstable/sql/SqlError.d.ts.map +1 -1
- package/dist/unstable/sql/SqlError.js +7 -32
- package/dist/unstable/sql/SqlError.js.map +1 -1
- package/dist/unstable/sql/SqlModel.d.ts +6 -14
- package/dist/unstable/sql/SqlModel.d.ts.map +1 -1
- package/dist/unstable/sql/SqlModel.js.map +1 -1
- package/dist/unstable/sql/SqlResolver.d.ts +6 -23
- package/dist/unstable/sql/SqlResolver.d.ts.map +1 -1
- package/dist/unstable/sql/SqlResolver.js +6 -23
- package/dist/unstable/sql/SqlResolver.js.map +1 -1
- package/dist/unstable/sql/SqlSchema.d.ts +3 -27
- package/dist/unstable/sql/SqlSchema.d.ts.map +1 -1
- package/dist/unstable/sql/SqlSchema.js +3 -27
- package/dist/unstable/sql/SqlSchema.js.map +1 -1
- package/dist/unstable/sql/SqlStream.d.ts.map +1 -1
- package/dist/unstable/sql/SqlStream.js +0 -10
- package/dist/unstable/sql/SqlStream.js.map +1 -1
- package/dist/unstable/sql/Statement.d.ts.map +1 -1
- package/dist/unstable/sql/Statement.js +6 -34
- package/dist/unstable/sql/Statement.js.map +1 -1
- package/dist/unstable/workers/Transferable.d.ts +0 -21
- package/dist/unstable/workers/Transferable.d.ts.map +1 -1
- package/dist/unstable/workers/Transferable.js +0 -21
- package/dist/unstable/workers/Transferable.js.map +1 -1
- package/dist/unstable/workers/Worker.d.ts +6 -34
- package/dist/unstable/workers/Worker.d.ts.map +1 -1
- package/dist/unstable/workers/Worker.js +6 -34
- package/dist/unstable/workers/Worker.js.map +1 -1
- package/dist/unstable/workers/WorkerError.d.ts.map +1 -1
- package/dist/unstable/workers/WorkerError.js +4 -33
- package/dist/unstable/workers/WorkerError.js.map +1 -1
- package/dist/unstable/workers/WorkerRunner.d.ts +5 -30
- package/dist/unstable/workers/WorkerRunner.d.ts.map +1 -1
- package/dist/unstable/workers/WorkerRunner.js +5 -30
- package/dist/unstable/workers/WorkerRunner.js.map +1 -1
- package/dist/unstable/workflow/Activity.d.ts +5 -18
- package/dist/unstable/workflow/Activity.d.ts.map +1 -1
- package/dist/unstable/workflow/Activity.js.map +1 -1
- package/dist/unstable/workflow/DurableClock.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableClock.js +5 -24
- package/dist/unstable/workflow/DurableClock.js.map +1 -1
- package/dist/unstable/workflow/DurableDeferred.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableDeferred.js +6 -18
- package/dist/unstable/workflow/DurableDeferred.js.map +1 -1
- package/dist/unstable/workflow/DurableQueue.d.ts +0 -25
- package/dist/unstable/workflow/DurableQueue.d.ts.map +1 -1
- package/dist/unstable/workflow/DurableQueue.js +0 -25
- package/dist/unstable/workflow/DurableQueue.js.map +1 -1
- package/dist/unstable/workflow/Workflow.d.ts +1 -1
- package/dist/unstable/workflow/Workflow.d.ts.map +1 -1
- package/dist/unstable/workflow/Workflow.js +7 -19
- package/dist/unstable/workflow/Workflow.js.map +1 -1
- package/dist/unstable/workflow/WorkflowEngine.d.ts +8 -20
- package/dist/unstable/workflow/WorkflowEngine.d.ts.map +1 -1
- package/dist/unstable/workflow/WorkflowEngine.js.map +1 -1
- package/dist/unstable/workflow/WorkflowProxy.d.ts +7 -23
- package/dist/unstable/workflow/WorkflowProxy.d.ts.map +1 -1
- package/dist/unstable/workflow/WorkflowProxy.js.map +1 -1
- package/dist/unstable/workflow/WorkflowProxyServer.d.ts +6 -23
- package/dist/unstable/workflow/WorkflowProxyServer.d.ts.map +1 -1
- package/dist/unstable/workflow/WorkflowProxyServer.js.map +1 -1
- package/package.json +1 -1
- package/src/Array.ts +6 -81
- package/src/BigDecimal.ts +5 -55
- package/src/BigInt.ts +5 -64
- package/src/Boolean.ts +5 -52
- package/src/Brand.ts +0 -44
- package/src/Cache.ts +5 -44
- package/src/Cause.ts +6 -72
- package/src/Channel.ts +6 -67
- package/src/ChannelSchema.ts +5 -41
- package/src/Chunk.ts +6 -67
- package/src/Clock.ts +4 -56
- package/src/Combiner.ts +6 -57
- package/src/Config.ts +5 -69
- package/src/ConfigProvider.ts +6 -75
- package/src/Console.ts +6 -70
- package/src/Context.ts +8 -47
- package/src/Cron.ts +5 -41
- package/src/Crypto.ts +6 -50
- package/src/Data.ts +5 -72
- package/src/DateTime.ts +8 -48
- package/src/Deferred.ts +5 -58
- package/src/Differ.ts +4 -35
- package/src/Duration.ts +6 -46
- package/src/Effect.ts +227 -103
- package/src/Effectable.ts +4 -34
- package/src/Encoding.ts +5 -46
- package/src/Equal.ts +6 -66
- package/src/Equivalence.ts +6 -48
- package/src/ErrorReporter.ts +8 -47
- package/src/ExecutionPlan.ts +6 -79
- package/src/Exit.ts +6 -53
- package/src/Fiber.ts +5 -52
- package/src/FiberHandle.ts +8 -38
- package/src/FiberMap.ts +7 -34
- package/src/FiberSet.ts +6 -36
- package/src/FileSystem.ts +8 -51
- package/src/Filter.ts +8 -33
- package/src/Formatter.ts +6 -49
- package/src/Function.ts +5 -43
- package/src/Graph.ts +79 -61
- package/src/HKT.ts +6 -48
- package/src/Hash.ts +7 -49
- package/src/HashMap.ts +6 -69
- package/src/HashRing.ts +6 -56
- package/src/HashSet.ts +7 -36
- package/src/Inspectable.ts +6 -60
- package/src/Iterable.ts +5 -50
- package/src/JsonPatch.ts +0 -53
- package/src/JsonPointer.ts +4 -49
- package/src/JsonSchema.ts +6 -82
- package/src/Latch.ts +5 -31
- package/src/Layer.ts +6 -38
- package/src/LayerMap.ts +7 -32
- package/src/LogLevel.ts +4 -35
- package/src/Logger.ts +6 -80
- package/src/ManagedRuntime.ts +6 -36
- package/src/Match.ts +8 -42
- package/src/Metric.ts +8 -81
- package/src/MutableHashMap.ts +6 -35
- package/src/MutableHashSet.ts +5 -63
- package/src/MutableList.ts +6 -46
- package/src/MutableRef.ts +7 -30
- package/src/Newtype.ts +8 -61
- package/src/NonEmptyIterable.ts +0 -135
- package/src/Number.ts +4 -55
- package/src/Optic.ts +9 -91
- package/src/Option.ts +8 -69
- package/src/Order.ts +8 -76
- package/src/Ordering.ts +5 -31
- package/src/PartitionedSemaphore.ts +0 -28
- package/src/Path.ts +7 -29
- package/src/Pipeable.ts +0 -11
- package/src/PlatformError.ts +7 -29
- package/src/Pool.ts +6 -42
- package/src/Predicate.ts +6 -61
- package/src/PrimaryKey.ts +0 -40
- package/src/PubSub.ts +8 -56
- package/src/Pull.ts +8 -25
- package/src/Queue.ts +5 -62
- package/src/Random.ts +18 -114
- package/src/RcMap.ts +9 -17
- package/src/RcRef.ts +6 -36
- package/src/Record.ts +6 -71
- package/src/Redactable.ts +0 -58
- package/src/Redacted.ts +8 -41
- package/src/Reducer.ts +5 -64
- package/src/Ref.ts +8 -49
- package/src/References.ts +0 -49
- package/src/RegExp.ts +0 -26
- package/src/Request.ts +6 -41
- package/src/RequestResolver.ts +6 -41
- package/src/Resource.ts +5 -30
- package/src/Result.ts +6 -64
- package/src/Runtime.ts +7 -55
- package/src/Schedule.ts +5 -61
- package/src/Scheduler.ts +6 -17
- package/src/Schema.ts +697 -397
- package/src/SchemaAST.ts +115 -91
- package/src/SchemaGetter.ts +9 -83
- package/src/SchemaIssue.ts +8 -76
- package/src/SchemaParser.ts +27 -43
- package/src/SchemaRepresentation.ts +10 -84
- package/src/SchemaTransformation.ts +9 -82
- package/src/SchemaUtils.ts +5 -33
- package/src/Scope.ts +6 -41
- package/src/ScopedCache.ts +8 -23
- package/src/ScopedRef.ts +6 -18
- package/src/Semaphore.ts +8 -30
- package/src/Sink.ts +6 -29
- package/src/Stdio.ts +7 -26
- package/src/Stream.ts +8 -79
- package/src/String.ts +5 -63
- package/src/Struct.ts +9 -71
- package/src/SubscriptionRef.ts +6 -53
- package/src/Symbol.ts +0 -17
- package/src/SynchronizedRef.ts +8 -21
- package/src/Take.ts +0 -24
- package/src/Terminal.ts +7 -28
- package/src/Tracer.ts +6 -36
- package/src/Trie.ts +6 -49
- package/src/Tuple.ts +8 -66
- package/src/TxChunk.ts +8 -40
- package/src/TxDeferred.ts +0 -18
- package/src/TxHashMap.ts +6 -23
- package/src/TxHashSet.ts +10 -19
- package/src/TxPriorityQueue.ts +9 -29
- package/src/TxPubSub.ts +6 -44
- package/src/TxQueue.ts +8 -48
- package/src/TxReentrantLock.ts +8 -40
- package/src/TxRef.ts +9 -59
- package/src/TxSemaphore.ts +6 -34
- package/src/TxSubscriptionRef.ts +7 -35
- package/src/Types.ts +6 -48
- package/src/UndefinedOr.ts +8 -55
- package/src/Unify.ts +8 -29
- package/src/Utils.ts +28 -68
- package/src/internal/effect.ts +9 -8
- package/src/internal/option.ts +31 -26
- package/src/internal/schema/arbitrary.ts +740 -173
- package/src/internal/schema/representation.ts +1 -1
- package/src/testing/FastCheck.ts +5 -6
- package/src/testing/TestClock.ts +8 -23
- package/src/testing/TestConsole.ts +7 -36
- package/src/testing/TestSchema.ts +6 -63
- package/src/unstable/ai/AiError.ts +9 -78
- package/src/unstable/ai/AnthropicStructuredOutput.ts +7 -32
- package/src/unstable/ai/Chat.ts +0 -46
- package/src/unstable/ai/EmbeddingModel.ts +8 -45
- package/src/unstable/ai/IdGenerator.ts +6 -44
- package/src/unstable/ai/LanguageModel.ts +9 -48
- package/src/unstable/ai/McpSchema.ts +8 -27
- package/src/unstable/ai/McpServer.ts +7 -21
- package/src/unstable/ai/Model.ts +8 -49
- package/src/unstable/ai/OpenAiStructuredOutput.ts +9 -49
- package/src/unstable/ai/Prompt.ts +6 -50
- package/src/unstable/ai/Response.ts +8 -49
- package/src/unstable/ai/ResponseIdTracker.ts +0 -26
- package/src/unstable/ai/Telemetry.ts +6 -30
- package/src/unstable/ai/Tokenizer.ts +8 -46
- package/src/unstable/ai/Tool.ts +9 -54
- package/src/unstable/ai/Toolkit.ts +6 -75
- package/src/unstable/cli/Argument.ts +6 -20
- package/src/unstable/cli/CliError.ts +8 -23
- package/src/unstable/cli/CliOutput.ts +6 -19
- package/src/unstable/cli/Command.ts +8 -27
- package/src/unstable/cli/Completions.ts +0 -24
- package/src/unstable/cli/Flag.ts +8 -18
- package/src/unstable/cli/GlobalFlag.ts +10 -22
- package/src/unstable/cli/HelpDoc.ts +6 -19
- package/src/unstable/cli/Param.ts +8 -25
- package/src/unstable/cli/Primitive.ts +8 -58
- package/src/unstable/cli/Prompt.ts +8 -23
- package/src/unstable/cluster/ClusterCron.ts +6 -26
- package/src/unstable/cluster/ClusterError.ts +5 -40
- package/src/unstable/cluster/ClusterMetrics.ts +6 -20
- package/src/unstable/cluster/ClusterSchema.ts +0 -38
- package/src/unstable/cluster/ClusterWorkflowEngine.ts +0 -16
- package/src/unstable/cluster/DeliverAt.ts +0 -17
- package/src/unstable/cluster/Entity.ts +8 -31
- package/src/unstable/cluster/EntityAddress.ts +0 -13
- package/src/unstable/cluster/EntityId.ts +0 -24
- package/src/unstable/cluster/EntityProxy.ts +6 -20
- package/src/unstable/cluster/EntityProxyServer.ts +7 -19
- package/src/unstable/cluster/EntityResource.ts +8 -22
- package/src/unstable/cluster/EntityType.ts +0 -13
- package/src/unstable/cluster/Envelope.ts +7 -22
- package/src/unstable/cluster/HttpRunner.ts +5 -32
- package/src/unstable/cluster/K8sHttpClient.ts +0 -32
- package/src/unstable/cluster/MachineId.ts +0 -20
- package/src/unstable/cluster/Message.ts +7 -23
- package/src/unstable/cluster/MessageStorage.ts +7 -36
- package/src/unstable/cluster/Reply.ts +7 -19
- package/src/unstable/cluster/Runner.ts +3 -35
- package/src/unstable/cluster/RunnerAddress.ts +4 -32
- package/src/unstable/cluster/RunnerHealth.ts +6 -35
- package/src/unstable/cluster/RunnerServer.ts +8 -23
- package/src/unstable/cluster/RunnerStorage.ts +6 -21
- package/src/unstable/cluster/Runners.ts +7 -28
- package/src/unstable/cluster/ShardId.ts +0 -17
- package/src/unstable/cluster/Sharding.ts +7 -39
- package/src/unstable/cluster/ShardingConfig.ts +7 -34
- package/src/unstable/cluster/ShardingRegistrationEvent.ts +0 -22
- package/src/unstable/cluster/SingleRunner.ts +7 -20
- package/src/unstable/cluster/Singleton.ts +0 -23
- package/src/unstable/cluster/SingletonAddress.ts +0 -22
- package/src/unstable/cluster/Snowflake.ts +7 -16
- package/src/unstable/cluster/SocketRunner.ts +6 -19
- package/src/unstable/cluster/SqlMessageStorage.ts +7 -36
- package/src/unstable/cluster/SqlRunnerStorage.ts +6 -27
- package/src/unstable/cluster/TestRunner.ts +0 -21
- package/src/unstable/cluster/internal/entityManager.ts +23 -5
- package/src/unstable/devtools/DevTools.ts +0 -17
- package/src/unstable/devtools/DevToolsClient.ts +0 -24
- package/src/unstable/devtools/DevToolsSchema.ts +0 -17
- package/src/unstable/devtools/DevToolsServer.ts +0 -13
- package/src/unstable/encoding/Msgpack.ts +5 -28
- package/src/unstable/encoding/Ndjson.ts +4 -28
- package/src/unstable/encoding/Sse.ts +6 -37
- package/src/unstable/eventlog/Event.ts +3 -25
- package/src/unstable/eventlog/EventGroup.ts +6 -21
- package/src/unstable/eventlog/EventJournal.ts +9 -32
- package/src/unstable/eventlog/EventLog.ts +6 -28
- package/src/unstable/eventlog/EventLogEncryption.ts +5 -18
- package/src/unstable/eventlog/EventLogMessage.ts +4 -20
- package/src/unstable/eventlog/EventLogRemote.ts +7 -17
- package/src/unstable/eventlog/EventLogServer.ts +3 -26
- package/src/unstable/eventlog/EventLogServerEncrypted.ts +7 -18
- package/src/unstable/eventlog/EventLogServerUnencrypted.ts +7 -35
- package/src/unstable/eventlog/EventLogSessionAuth.ts +6 -35
- package/src/unstable/eventlog/SqlEventJournal.ts +0 -26
- package/src/unstable/eventlog/SqlEventLogServerEncrypted.ts +6 -39
- package/src/unstable/eventlog/SqlEventLogServerUnencrypted.ts +0 -29
- package/src/unstable/http/Cookies.ts +6 -58
- package/src/unstable/http/Etag.ts +0 -22
- package/src/unstable/http/FetchHttpClient.ts +0 -23
- package/src/unstable/http/FindMyWay.ts +6 -0
- package/src/unstable/http/Headers.ts +9 -54
- package/src/unstable/http/HttpBody.ts +9 -53
- package/src/unstable/http/HttpClient.ts +9 -34
- package/src/unstable/http/HttpClientError.ts +0 -20
- package/src/unstable/http/HttpClientRequest.ts +4 -35
- package/src/unstable/http/HttpClientResponse.ts +6 -34
- package/src/unstable/http/HttpEffect.ts +5 -33
- package/src/unstable/http/HttpIncomingMessage.ts +6 -22
- package/src/unstable/http/HttpMethod.ts +5 -29
- package/src/unstable/http/HttpMiddleware.ts +6 -19
- package/src/unstable/http/HttpPlatform.ts +0 -13
- package/src/unstable/http/HttpRouter.ts +7 -39
- package/src/unstable/http/HttpServer.ts +6 -29
- package/src/unstable/http/HttpServerError.ts +6 -30
- package/src/unstable/http/HttpServerRequest.ts +7 -32
- package/src/unstable/http/HttpServerRespondable.ts +5 -29
- package/src/unstable/http/HttpServerResponse.ts +8 -41
- package/src/unstable/http/HttpStaticServer.ts +6 -31
- package/src/unstable/http/HttpTraceContext.ts +0 -24
- package/src/unstable/http/Multipart.ts +6 -35
- package/src/unstable/http/Multipasta/HeadersParser.ts +5 -0
- package/src/unstable/http/Multipasta/Node.ts +5 -0
- package/src/unstable/http/Multipasta/Search.ts +5 -0
- package/src/unstable/http/Multipasta/Web.ts +5 -0
- package/src/unstable/http/Multipasta.ts +6 -0
- package/src/unstable/http/Template.ts +5 -26
- package/src/unstable/http/Url.ts +5 -28
- package/src/unstable/http/UrlParams.ts +4 -32
- package/src/unstable/httpapi/HttpApi.ts +5 -45
- package/src/unstable/httpapi/HttpApiBuilder.ts +5 -39
- package/src/unstable/httpapi/HttpApiClient.ts +20 -43
- package/src/unstable/httpapi/HttpApiEndpoint.ts +9 -51
- package/src/unstable/httpapi/HttpApiError.ts +1 -32
- package/src/unstable/httpapi/HttpApiGroup.ts +8 -34
- package/src/unstable/httpapi/HttpApiMiddleware.ts +9 -48
- package/src/unstable/httpapi/HttpApiScalar.ts +0 -24
- package/src/unstable/httpapi/HttpApiSchema.ts +0 -32
- package/src/unstable/httpapi/HttpApiSecurity.ts +0 -29
- package/src/unstable/httpapi/HttpApiSwagger.ts +0 -24
- package/src/unstable/httpapi/HttpApiTest.ts +5 -18
- package/src/unstable/httpapi/OpenApi.ts +6 -40
- package/src/unstable/observability/Otlp.ts +5 -32
- package/src/unstable/observability/OtlpExporter.ts +5 -22
- package/src/unstable/observability/OtlpLogger.ts +5 -31
- package/src/unstable/observability/OtlpMetrics.ts +8 -20
- package/src/unstable/observability/OtlpResource.ts +5 -35
- package/src/unstable/observability/OtlpSerialization.ts +4 -26
- package/src/unstable/observability/OtlpTracer.ts +7 -20
- package/src/unstable/observability/PrometheusMetrics.ts +4 -41
- package/src/unstable/persistence/KeyValueStore.ts +8 -20
- package/src/unstable/persistence/Persistable.ts +4 -18
- package/src/unstable/persistence/PersistedCache.ts +5 -28
- package/src/unstable/persistence/PersistedQueue.ts +6 -22
- package/src/unstable/persistence/Persistence.ts +5 -21
- package/src/unstable/persistence/RateLimiter.ts +17 -35
- package/src/unstable/persistence/Redis.ts +6 -32
- package/src/unstable/process/ChildProcess.ts +6 -38
- package/src/unstable/process/ChildProcessSpawner.ts +7 -15
- package/src/unstable/reactivity/AsyncResult.ts +7 -39
- package/src/unstable/reactivity/Atom.ts +8 -36
- package/src/unstable/reactivity/AtomHttpApi.ts +6 -25
- package/src/unstable/reactivity/AtomRef.ts +4 -29
- package/src/unstable/reactivity/AtomRegistry.ts +6 -73
- package/src/unstable/reactivity/AtomRpc.ts +6 -20
- package/src/unstable/reactivity/Hydration.ts +8 -31
- package/src/unstable/reactivity/Reactivity.ts +6 -37
- package/src/unstable/rpc/Rpc.ts +8 -40
- package/src/unstable/rpc/RpcClient.ts +6 -32
- package/src/unstable/rpc/RpcClientError.ts +0 -23
- package/src/unstable/rpc/RpcGroup.ts +5 -30
- package/src/unstable/rpc/RpcMessage.ts +0 -26
- package/src/unstable/rpc/RpcMiddleware.ts +0 -28
- package/src/unstable/rpc/RpcSchema.ts +0 -25
- package/src/unstable/rpc/RpcSerialization.ts +6 -32
- package/src/unstable/rpc/RpcServer.ts +7 -40
- package/src/unstable/rpc/RpcTest.ts +0 -24
- package/src/unstable/rpc/RpcWorker.ts +6 -30
- package/src/unstable/rpc/Utils.ts +5 -21
- package/src/unstable/schema/Model.ts +28 -19
- package/src/unstable/schema/VariantSchema.ts +5 -17
- package/src/unstable/socket/Socket.ts +6 -21
- package/src/unstable/socket/SocketServer.ts +6 -20
- package/src/unstable/sql/Migrator.ts +5 -40
- package/src/unstable/sql/SqlClient.ts +5 -19
- package/src/unstable/sql/SqlConnection.ts +6 -18
- package/src/unstable/sql/SqlError.ts +7 -32
- package/src/unstable/sql/SqlModel.ts +6 -14
- package/src/unstable/sql/SqlResolver.ts +6 -23
- package/src/unstable/sql/SqlSchema.ts +3 -27
- package/src/unstable/sql/SqlStream.ts +0 -10
- package/src/unstable/sql/Statement.ts +6 -34
- package/src/unstable/workers/Transferable.ts +0 -21
- package/src/unstable/workers/Worker.ts +6 -34
- package/src/unstable/workers/WorkerError.ts +4 -33
- package/src/unstable/workers/WorkerRunner.ts +5 -30
- package/src/unstable/workflow/Activity.ts +5 -18
- package/src/unstable/workflow/DurableClock.ts +5 -24
- package/src/unstable/workflow/DurableDeferred.ts +6 -18
- package/src/unstable/workflow/DurableQueue.ts +0 -25
- package/src/unstable/workflow/Workflow.ts +9 -21
- package/src/unstable/workflow/WorkflowEngine.ts +7 -19
- package/src/unstable/workflow/WorkflowProxy.ts +7 -23
- package/src/unstable/workflow/WorkflowProxyServer.ts +6 -23
|
@@ -1,33 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* to communicate with processes that host entity shards. It is the transport
|
|
4
|
-
* boundary between sharding decisions and runner execution: callers can ping a
|
|
5
|
-
* runner, send requests or envelopes, notify a runner that persisted work is
|
|
6
|
-
* available, and report an address as unavailable.
|
|
2
|
+
* Handles communication between Effect Cluster runners.
|
|
7
3
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* **Common tasks**
|
|
15
|
-
*
|
|
16
|
-
* - Provide runner communication with {@link layerRpc}
|
|
17
|
-
* - Build a custom implementation with {@link make}
|
|
18
|
-
* - Use {@link makeNoop} or {@link layerNoop} when no remote runners are
|
|
19
|
-
* available
|
|
20
|
-
* - Define runner-to-runner protocol support with {@link Rpcs} and
|
|
21
|
-
* {@link RpcClientProtocol}
|
|
22
|
-
*
|
|
23
|
-
* **Gotchas**
|
|
24
|
-
*
|
|
25
|
-
* - `notify` is only for RPCs annotated as persisted; non-persisted messages
|
|
26
|
-
* should be sent directly.
|
|
27
|
-
* - Failed remote sends can fall back to reading replies from storage, so reply
|
|
28
|
-
* polling and `entityReplyPollInterval` affect recovery latency.
|
|
29
|
-
* - Unavailable runners invalidate cached RPC clients, but shard ownership and
|
|
30
|
-
* rebalancing are coordinated by the sharding layer rather than this module.
|
|
4
|
+
* `Runners` sits between sharding decisions and runner execution. It can ping a
|
|
5
|
+
* runner, send requests or control envelopes, notify a runner that persisted
|
|
6
|
+
* work is available, and record that a runner address is unavailable. This
|
|
7
|
+
* module defines the runner communication service, its RPC protocol, no-op and
|
|
8
|
+
* RPC-backed implementations, local persistence support, reply recovery, and
|
|
9
|
+
* the protocol service used by transport-specific runner layers.
|
|
31
10
|
*
|
|
32
11
|
* @since 4.0.0
|
|
33
12
|
*/
|
|
@@ -5,23 +5,6 @@
|
|
|
5
5
|
* schema support, and conversion to and from the `group:id` string form used by
|
|
6
6
|
* routing and storage boundaries.
|
|
7
7
|
*
|
|
8
|
-
* **Common tasks**
|
|
9
|
-
*
|
|
10
|
-
* - Create or reuse a cached shard identifier with {@link make}
|
|
11
|
-
* - Check runtime values with {@link isShardId}
|
|
12
|
-
* - Encode or decode shard identifiers with {@link ShardId}
|
|
13
|
-
* - Format for logs, persistence, or transport with {@link toString}
|
|
14
|
-
* - Parse encoded shard keys with {@link fromString} or {@link fromStringEncoded}
|
|
15
|
-
*
|
|
16
|
-
* **Gotchas**
|
|
17
|
-
*
|
|
18
|
-
* - Equality and hashing are based on the `group:id` representation, so both
|
|
19
|
-
* fields must match for two shard ids to be equal
|
|
20
|
-
* - Encoded strings are split at the last `:`; groups may contain colons, but
|
|
21
|
-
* ids must parse as numbers
|
|
22
|
-
* - This module identifies shards after a routing or hashing decision; it does
|
|
23
|
-
* not choose a shard for an arbitrary entity key
|
|
24
|
-
*
|
|
25
8
|
* @since 4.0.0
|
|
26
9
|
*/
|
|
27
10
|
import * as Equal from "../../Equal.ts"
|
|
@@ -1,44 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* shard ids, decides which runner owns each shard, and delivers cluster
|
|
4
|
-
* messages to the owning runner. It connects typed entity protocols with runner
|
|
5
|
-
* membership, shard locks, mailbox storage, and the transport used between
|
|
6
|
-
* runners.
|
|
2
|
+
* Runs shard ownership and message routing for Effect Cluster.
|
|
7
3
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
*
|
|
14
|
-
* to the current owner instead of calling handlers directly.
|
|
15
|
-
* - Persisted messages are polled from storage and replayed only for shards the
|
|
16
|
-
* local runner owns.
|
|
17
|
-
*
|
|
18
|
-
* **Common tasks**
|
|
19
|
-
*
|
|
20
|
-
* - Register entity handlers with {@link Sharding.Service.registerEntity}.
|
|
21
|
-
* - Register singleton effects that run once per shard group with
|
|
22
|
-
* {@link Sharding.Service.registerSingleton}.
|
|
23
|
-
* - Build typed entity clients with {@link Sharding.Service.makeClient}.
|
|
24
|
-
* - Send an already encoded incoming message with {@link Sharding.Service.send}.
|
|
25
|
-
* - Generate runner-local snowflake ids with {@link Sharding.Service.getSnowflake}.
|
|
26
|
-
*
|
|
27
|
-
* **Gotchas**
|
|
28
|
-
*
|
|
29
|
-
* - Assignment and acquisition are separate: a runner may be assigned a shard
|
|
30
|
-
* before it has acquired the storage lock.
|
|
31
|
-
* - Changing shard group names, shard counts, or runner weights changes
|
|
32
|
-
* placement for entity ids.
|
|
33
|
-
* - Ownership can move during shutdown, runner failure, or health refreshes, so
|
|
34
|
-
* callers must handle routing and mailbox errors.
|
|
35
|
-
* - Durable replay depends on the configured message storage; in-memory storage
|
|
36
|
-
* does not provide process restart recovery.
|
|
37
|
-
*
|
|
38
|
-
* **See also**
|
|
39
|
-
*
|
|
40
|
-
* - {@link ShardingConfig} for runner identity, shard counts, and timing.
|
|
41
|
-
* - {@link Runner} for the membership record used during shard assignment.
|
|
4
|
+
* `Sharding` decides which shard owns an entity id, tracks which shards belong
|
|
5
|
+
* to the local runner, and sends cluster messages to local handlers or remote
|
|
6
|
+
* runners. It also registers entities and singletons, creates clients for
|
|
7
|
+
* entity requests, polls stored messages, and tracks shutdown state. The main
|
|
8
|
+
* layer connects these responsibilities to runner communication, storage,
|
|
9
|
+
* health checks, configuration, and local resources.
|
|
42
10
|
*
|
|
43
11
|
* @since 4.0.0
|
|
44
12
|
*/
|
|
@@ -1,39 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* participates in sharding. It combines the runner network identity, shard group
|
|
4
|
-
* membership, shard-count and weight settings, storage-lock timing, entity
|
|
5
|
-
* mailbox and lifecycle limits, and polling intervals used by the local runner.
|
|
2
|
+
* Configures how an Effect Cluster runner participates in sharding.
|
|
6
3
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
*
|
|
13
|
-
* variables before applying optional overrides.
|
|
14
|
-
* - `runnerAddress` is the externally reachable address advertised to other
|
|
15
|
-
* runners; `runnerListenAddress` can differ when the process binds a
|
|
16
|
-
* different interface.
|
|
17
|
-
* - `availableShardGroups`, `assignedShardGroups`, `shardsPerGroup`, and
|
|
18
|
-
* `runnerShardWeight` decide which shards a runner may own and how assignment
|
|
19
|
-
* is balanced.
|
|
20
|
-
*
|
|
21
|
-
* **Common tasks**
|
|
22
|
-
*
|
|
23
|
-
* - Provide default local configuration with {@link layerDefaults}.
|
|
24
|
-
* - Override selected fields in code with {@link layer}.
|
|
25
|
-
* - Load deployment configuration from the environment with
|
|
26
|
-
* {@link configFromEnv} or {@link layerFromEnv}.
|
|
27
|
-
* - Normalize configured shard groups with {@link shardGroupConfig}.
|
|
28
|
-
*
|
|
29
|
-
* **Gotchas**
|
|
30
|
-
*
|
|
31
|
-
* - Keep cluster-wide values such as `availableShardGroups` and
|
|
32
|
-
* `shardsPerGroup` consistent for runners sharing the same storage backend.
|
|
33
|
-
* - Use stable, reachable `runnerAddress` values; client-only nodes should use
|
|
34
|
-
* `Option.none()` for `runnerAddress`.
|
|
35
|
-
* - Tune lock expiration, refresh intervals, and termination timeouts together
|
|
36
|
-
* so normal shutdown does not look like runner failure.
|
|
4
|
+
* `ShardingConfig` describes the runner address, shard group membership, shard
|
|
5
|
+
* counts and weights, lock timing, entity mailbox and lifecycle limits, polling
|
|
6
|
+
* intervals, health checks, and local serialization simulation. This module
|
|
7
|
+
* includes the service, default values, programmatic and environment-based
|
|
8
|
+
* layers, a `Config` description for loading values, and helpers for normalizing
|
|
9
|
+
* assigned shard groups.
|
|
37
10
|
*
|
|
38
11
|
* @since 4.0.0
|
|
39
12
|
*/
|
|
@@ -5,28 +5,6 @@
|
|
|
5
5
|
* inspect which capabilities a runner made available, or assert registration
|
|
6
6
|
* behavior in tests.
|
|
7
7
|
*
|
|
8
|
-
* **Mental model**
|
|
9
|
-
*
|
|
10
|
-
* Registration is local capability discovery. An `EntityRegistered` event means
|
|
11
|
-
* this runner has installed handlers for an entity type; a `SingletonRegistered`
|
|
12
|
-
* event carries the `SingletonAddress` computed for the singleton name and shard
|
|
13
|
-
* group. Neither event means the runner currently owns the relevant shard or has
|
|
14
|
-
* started processing stored messages.
|
|
15
|
-
*
|
|
16
|
-
* **Common tasks**
|
|
17
|
-
*
|
|
18
|
-
* - Consume `Sharding.getRegistrationEvents` in tests or startup coordination
|
|
19
|
-
* - Match on entity and singleton registrations with the generated `match`
|
|
20
|
-
* helper
|
|
21
|
-
* - Record registered entity types and singleton addresses for diagnostics
|
|
22
|
-
*
|
|
23
|
-
* **Gotchas**
|
|
24
|
-
*
|
|
25
|
-
* - Events are live in-memory notifications; they are not stored or replayed for
|
|
26
|
-
* later subscribers
|
|
27
|
-
* - Shard acquisition, singleton execution, and persisted mailbox polling happen
|
|
28
|
-
* after registration and may move as runner membership changes
|
|
29
|
-
*
|
|
30
8
|
* @since 4.0.0
|
|
31
9
|
*/
|
|
32
10
|
import * as Data from "../../Data.ts"
|
|
@@ -1,25 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* message storage,
|
|
5
|
-
*
|
|
6
|
-
* external runners.
|
|
2
|
+
* Single-process cluster layer for durable entities and workflows. It wires
|
|
3
|
+
* `Sharding` with no-op runner communication, no-op runner health checks,
|
|
4
|
+
* SQL-backed message storage, environment-based sharding configuration, and
|
|
5
|
+
* either SQL-backed or in-memory runner storage.
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* - Run durable entities and workflows in development, tests, or small
|
|
12
|
-
* single-node deployments
|
|
13
|
-
* - Choose SQL runner storage for persistence or in-memory runner storage for
|
|
14
|
-
* short-lived scenarios
|
|
15
|
-
* - Override sharding configuration while still using the standard
|
|
16
|
-
* environment-based defaults
|
|
17
|
-
*
|
|
18
|
-
* **Gotchas**
|
|
19
|
-
*
|
|
20
|
-
* - The layer still requires a `SqlClient` because message storage is SQL-backed
|
|
21
|
-
* - Runner health and runner coordination are no-op implementations, so this is
|
|
22
|
-
* for single-node use rather than multi-runner cluster coordination
|
|
7
|
+
* This layer is meant for local, embedded, or small single-node setups where the
|
|
8
|
+
* process handles all cluster work itself. It still requires a SQL client
|
|
9
|
+
* because mailbox messages and replies are stored in SQL.
|
|
23
10
|
*
|
|
24
11
|
* @since 4.0.0
|
|
25
12
|
*/
|
|
@@ -6,29 +6,6 @@
|
|
|
6
6
|
* sharding starts the effect; when ownership moves or the layer scope closes,
|
|
7
7
|
* the running fiber is interrupted and the registration is removed.
|
|
8
8
|
*
|
|
9
|
-
* **Mental model**
|
|
10
|
-
*
|
|
11
|
-
* A singleton is still placed on a shard. Its name and optional shard group
|
|
12
|
-
* determine the shard id, and the runner that acquires that shard lock is the
|
|
13
|
-
* only runner allowed to execute it. Failover is handled by shard ownership, so
|
|
14
|
-
* another runner can resume the singleton after the previous owner leaves.
|
|
15
|
-
*
|
|
16
|
-
* **Common tasks**
|
|
17
|
-
*
|
|
18
|
-
* - Start one scheduler, consumer, polling loop, or maintenance process for a
|
|
19
|
-
* whole cluster
|
|
20
|
-
* - Register that process as part of application wiring with `Layer`
|
|
21
|
-
* - Choose a `shardGroup` when singleton ownership should be coordinated with a
|
|
22
|
-
* specific group of clustered work
|
|
23
|
-
*
|
|
24
|
-
* **Gotchas**
|
|
25
|
-
*
|
|
26
|
-
* - Design the effect to be interruptible and idempotent; ownership can move
|
|
27
|
-
* while work is in flight.
|
|
28
|
-
* - Duplicate singleton names in the same shard group fail during registration.
|
|
29
|
-
* - Handle expected failures inside the effect when it should keep running,
|
|
30
|
-
* because unhandled failures are surfaced as defects by sharding.
|
|
31
|
-
*
|
|
32
9
|
* @since 4.0.0
|
|
33
10
|
*/
|
|
34
11
|
import * as Effect from "../../Effect.ts"
|
|
@@ -5,28 +5,6 @@
|
|
|
5
5
|
* stable value for registration events, equality, hashing, and local singleton
|
|
6
6
|
* fiber tracking.
|
|
7
7
|
*
|
|
8
|
-
* **Mental model**
|
|
9
|
-
*
|
|
10
|
-
* A singleton does not have an entity id supplied by the caller. During
|
|
11
|
-
* registration, `Sharding` hashes the singleton name within a shard group and
|
|
12
|
-
* records the resulting shard id next to the name. When the local runner
|
|
13
|
-
* acquires that shard, the singleton can run; when ownership moves away, the
|
|
14
|
-
* address stays the same and the local singleton fiber is stopped.
|
|
15
|
-
*
|
|
16
|
-
* **Common tasks**
|
|
17
|
-
*
|
|
18
|
-
* - Read the address carried by singleton registration events
|
|
19
|
-
* - Compare singleton registrations by both name and shard id
|
|
20
|
-
* - Include the name and shard id in logs or diagnostics about singleton
|
|
21
|
-
* ownership changes
|
|
22
|
-
*
|
|
23
|
-
* **Gotchas**
|
|
24
|
-
*
|
|
25
|
-
* - The same singleton name in different shard groups produces different
|
|
26
|
-
* addresses
|
|
27
|
-
* - An address identifies the shard responsible for a singleton, not the runner
|
|
28
|
-
* currently executing it
|
|
29
|
-
*
|
|
30
8
|
* @since 4.0.0
|
|
31
9
|
*/
|
|
32
10
|
import * as Equal from "../../Equal.ts"
|
|
@@ -1,21 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
*
|
|
4
|
-
* millisecond timestamp, a machine id, and a per-machine sequence number.
|
|
2
|
+
* Creates compact, sortable identifiers for cluster messages and runtime
|
|
3
|
+
* events.
|
|
5
4
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* - Decoding a generated id into timestamp, machine id, and sequence parts with {@link toParts}
|
|
12
|
-
*
|
|
13
|
-
* **Gotchas**
|
|
14
|
-
*
|
|
15
|
-
* - Uniqueness depends on each concurrent generator using a distinct machine id
|
|
16
|
-
* - Generated ids are time-sortable, but they are not random or secret values
|
|
17
|
-
* - The default generator prevents local clock drift from moving ids backward
|
|
18
|
-
* - More than 4096 ids in the same millisecond advance the logical timestamp
|
|
5
|
+
* A snowflake id is a branded `bigint` built from a millisecond timestamp, a
|
|
6
|
+
* machine id, and a sequence number for that machine. The parts make generated
|
|
7
|
+
* ids sortable by time while still being unique for a runner. This module
|
|
8
|
+
* includes schemas for bigint and string encodings, helpers for creating and
|
|
9
|
+
* reading ids, and a `Clock`-backed generator service for cluster runtime use.
|
|
19
10
|
*
|
|
20
11
|
* @since 4.0.0
|
|
21
12
|
*/
|
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* provides a complete runner layer that serves RPC handlers on a `SocketServer`
|
|
4
|
-
* and installs `Sharding` and `Runners` clients for talking to other runners
|
|
5
|
-
* through the socket RPC protocol.
|
|
2
|
+
* Runs cluster runner RPCs over a socket transport.
|
|
6
3
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* -
|
|
11
|
-
*
|
|
12
|
-
* the process should send messages but not receive shard assignments
|
|
13
|
-
*
|
|
14
|
-
* **Transport gotchas**
|
|
15
|
-
*
|
|
16
|
-
* - The server listen address comes from the provided `SocketServer` and is
|
|
17
|
-
* logged when {@link layer} starts
|
|
18
|
-
* - TCP addresses are logged as `hostname:port`, while Unix socket addresses
|
|
19
|
-
* are logged as their filesystem path
|
|
20
|
-
* - The client-only layer does not start a socket server; provide the full
|
|
21
|
-
* layer when the process must accept runner RPCs
|
|
4
|
+
* The full layer serves runner RPC handlers on a provided `SocketServer`, logs
|
|
5
|
+
* the bound address, and provides `Sharding` and `Runners` clients when an
|
|
6
|
+
* outgoing runner client protocol is available. This module also includes a
|
|
7
|
+
* client-only socket runner layer for processes that need cluster clients
|
|
8
|
+
* without starting a runner server or receiving shard assignments.
|
|
22
9
|
*
|
|
23
10
|
* @since 4.0.0
|
|
24
11
|
*/
|
|
@@ -1,41 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Persists cluster mailbox messages and replies in SQL.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
* can recover mailbox state after restarts
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* **Mental model**
|
|
11
|
-
*
|
|
12
|
-
* The storage owns two durable streams: a messages table for requests and
|
|
13
|
-
* control envelopes, and a replies table for chunk and final replies. Saving a
|
|
14
|
-
* request or envelope writes encoded data into the messages table; reading
|
|
15
|
-
* unprocessed messages claims due rows for assigned shards; reading replies
|
|
16
|
-
* replays unacknowledged chunks or final exits until the runtime acknowledges
|
|
17
|
-
* or clears them. Primary keys are stored as `message_id` so repeated requests
|
|
18
|
-
* can resume from the original request and last persisted reply.
|
|
19
|
-
*
|
|
20
|
-
* **Common tasks**
|
|
21
|
-
*
|
|
22
|
-
* - Use `layer` for the default `cluster` table prefix and default snowflake
|
|
23
|
-
* generator.
|
|
24
|
-
* - Use `layerWith` before deployment when the application needs a stable
|
|
25
|
-
* custom table prefix.
|
|
26
|
-
* - Use `make` when composing the storage service with an existing
|
|
27
|
-
* `Snowflake.Generator`.
|
|
28
|
-
* - Provide `SqlClient` and `ShardingConfig` to the layer that installs the
|
|
29
|
-
* storage.
|
|
30
|
-
*
|
|
31
|
-
* **Gotchas**
|
|
32
|
-
*
|
|
33
|
-
* `make` runs migrations and creates `<prefix>_messages`, `<prefix>_replies`,
|
|
34
|
-
* and `<prefix>_migrations`. Changing `prefix` after deployment points the
|
|
35
|
-
* runtime at a different mailbox and migration history, so keep the generated
|
|
36
|
-
* migration table with the message tables. Unprocessed-message reads use
|
|
37
|
-
* `last_read` as a lease marker, so messages can be redelivered after the lease
|
|
38
|
-
* window if a runner stops before processing them.
|
|
4
|
+
* The SQL-backed `MessageStorage` stores encoded cluster envelopes and reply
|
|
5
|
+
* chunks so runners can recover mailbox state after restarts. It supports
|
|
6
|
+
* redelivering unprocessed messages, deduplicating requests by primary key, and
|
|
7
|
+
* replaying reply chunks until they are acknowledged. This module includes the
|
|
8
|
+
* storage constructor, layers, migrations, optional table prefixes, and the row
|
|
9
|
+
* mapping needed by encoded message storage.
|
|
39
10
|
*
|
|
40
11
|
* @since 4.0.0
|
|
41
12
|
*/
|
|
@@ -1,32 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Stores cluster runner registration and shard ownership in SQL.
|
|
3
3
|
*
|
|
4
|
-
* The `
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* **Common tasks**
|
|
11
|
-
*
|
|
12
|
-
* - Provide the default storage layer with {@link layer}
|
|
13
|
-
* - Use {@link layerWith} when multiple clusters share the same database and
|
|
14
|
-
* need distinct table prefixes
|
|
15
|
-
* - Create a storage implementation directly with {@link make} for custom layer
|
|
16
|
-
* composition
|
|
17
|
-
*
|
|
18
|
-
* **Gotchas**
|
|
19
|
-
*
|
|
20
|
-
* - Runner heartbeats and persisted shard locks expire according to
|
|
21
|
-
* `ShardingConfig.shardLockExpiration`; stale rows may be reused or cleaned up
|
|
22
|
-
* by later storage operations.
|
|
23
|
-
* - PostgreSQL and MySQL use advisory locks by default, keeping shard ownership
|
|
24
|
-
* tied to a reserved database connection. Set
|
|
25
|
-
* `ShardingConfig.shardLockDisableAdvisory` when persisted lock rows should be
|
|
26
|
-
* used instead.
|
|
27
|
-
* - The selected table prefix controls the generated `runners` and `locks`
|
|
28
|
-
* table names, so changing it points the cluster at a different storage
|
|
29
|
-
* namespace.
|
|
4
|
+
* The SQL-backed `RunnerStorage` records runners, health flags, machine ids,
|
|
5
|
+
* and shard locks so multiple processes can coordinate which runner owns each
|
|
6
|
+
* shard. This module creates the required runner and lock tables, supports an
|
|
7
|
+
* optional table prefix, uses advisory locks for PostgreSQL and MySQL when
|
|
8
|
+
* enabled, and provides constructors and layers for the storage service.
|
|
30
9
|
*
|
|
31
10
|
* @since 4.0.0
|
|
32
11
|
*/
|
|
@@ -6,27 +6,6 @@
|
|
|
6
6
|
* coordination, and mailbox persistence without starting RPC servers or
|
|
7
7
|
* external databases.
|
|
8
8
|
*
|
|
9
|
-
* **Mental model**
|
|
10
|
-
*
|
|
11
|
-
* The layer behaves like a single in-process runner using the default
|
|
12
|
-
* `ShardingConfig`. Sharding still computes shard ids, acquires in-memory shard
|
|
13
|
-
* locks, stores persisted messages, and emits registration events, but remote
|
|
14
|
-
* runner communication is deliberately absent.
|
|
15
|
-
*
|
|
16
|
-
* **Common tasks**
|
|
17
|
-
*
|
|
18
|
-
* - Provide cluster services around tests for sharded entities and singletons
|
|
19
|
-
* - Exercise persisted mailbox behavior with the in-memory message store
|
|
20
|
-
* - Observe registration events without starting a real runner process
|
|
21
|
-
*
|
|
22
|
-
* **Gotchas**
|
|
23
|
-
*
|
|
24
|
-
* - State is scoped to each layer instance and disappears when the layer closes
|
|
25
|
-
* - No-op runner transport cannot deliver work to another process, so
|
|
26
|
-
* multi-runner tests should provide their own `Runners` implementation
|
|
27
|
-
* - No-op health checks treat every runner as healthy and do not model
|
|
28
|
-
* failure-driven rebalancing
|
|
29
|
-
*
|
|
30
9
|
* @since 4.0.0
|
|
31
10
|
*/
|
|
32
11
|
import * as Layer from "../../Layer.ts"
|
|
@@ -145,7 +145,8 @@ export const make = Effect.fnUntraced(function*<
|
|
|
145
145
|
)
|
|
146
146
|
|
|
147
147
|
const activeRequests: EntityState["activeRequests"] = new Map()
|
|
148
|
-
let defectRequestIds
|
|
148
|
+
let defectRequestIds = new Set<bigint>()
|
|
149
|
+
let isRestartingDueToDefect = false
|
|
149
150
|
|
|
150
151
|
// the server is stored in a ref, so if there is a defect, we can
|
|
151
152
|
// swap the server without losing the active requests
|
|
@@ -186,6 +187,14 @@ export const make = Effect.fnUntraced(function*<
|
|
|
186
187
|
|
|
187
188
|
request.sentReply = true
|
|
188
189
|
|
|
190
|
+
if (
|
|
191
|
+
isShuttingDown &&
|
|
192
|
+
Exit.hasInterrupts(response.exit) &&
|
|
193
|
+
defectRequestIds.has(response.requestId)
|
|
194
|
+
) {
|
|
195
|
+
return Effect.void
|
|
196
|
+
}
|
|
197
|
+
|
|
189
198
|
// For durable messages, ignore interrupts during shutdown.
|
|
190
199
|
// They will be retried when the entity is restarted.
|
|
191
200
|
// Also, if the request is uninterruptible, we ignore the
|
|
@@ -281,9 +290,11 @@ export const make = Effect.fnUntraced(function*<
|
|
|
281
290
|
})
|
|
282
291
|
)
|
|
283
292
|
|
|
284
|
-
if (defectRequestIds.
|
|
293
|
+
if (defectRequestIds.size > 0) {
|
|
285
294
|
for (const id of defectRequestIds) {
|
|
286
|
-
const
|
|
295
|
+
const request = activeRequests.get(id)
|
|
296
|
+
if (!request) continue
|
|
297
|
+
const { lastSentChunk, message } = request
|
|
287
298
|
yield* server.write(0, {
|
|
288
299
|
...message.envelope,
|
|
289
300
|
id: RequestId(message.envelope.requestId),
|
|
@@ -294,7 +305,7 @@ export const make = Effect.fnUntraced(function*<
|
|
|
294
305
|
} as any) as any
|
|
295
306
|
})
|
|
296
307
|
}
|
|
297
|
-
defectRequestIds
|
|
308
|
+
defectRequestIds.clear()
|
|
298
309
|
}
|
|
299
310
|
|
|
300
311
|
return server.write
|
|
@@ -305,11 +316,18 @@ export const make = Effect.fnUntraced(function*<
|
|
|
305
316
|
if (!activeServers.has(address.entityId)) {
|
|
306
317
|
return endLatch.open
|
|
307
318
|
}
|
|
319
|
+
if (isRestartingDueToDefect) {
|
|
320
|
+
return Effect.void
|
|
321
|
+
}
|
|
322
|
+
defectRequestIds = new Set(activeRequests.keys())
|
|
323
|
+
isRestartingDueToDefect = true
|
|
308
324
|
const effect = writeRef.rebuildUnsafe()
|
|
309
|
-
defectRequestIds = Array.from(activeRequests.keys())
|
|
310
325
|
return Effect.logError("Defect in entity, restarting", cause).pipe(
|
|
311
326
|
Effect.andThen(Effect.ignore(retryDriver(void 0))),
|
|
312
327
|
Effect.flatMap(() => activeServers.has(address.entityId) ? effect : endLatch.open),
|
|
328
|
+
Effect.ensuring(Effect.sync(() => {
|
|
329
|
+
isRestartingDueToDefect = false
|
|
330
|
+
})),
|
|
313
331
|
Effect.annotateLogs({
|
|
314
332
|
module: "EntityManager",
|
|
315
333
|
address,
|
|
@@ -7,23 +7,6 @@
|
|
|
7
7
|
* and metric snapshots to an external devtools process. Lower-level socket
|
|
8
8
|
* protocol details live in `DevToolsClient`.
|
|
9
9
|
*
|
|
10
|
-
* **Common tasks**
|
|
11
|
-
*
|
|
12
|
-
* - Use {@link layer} when the runtime provides a global `WebSocket`
|
|
13
|
-
* - Use {@link layerWebSocket} when the environment should provide the
|
|
14
|
-
* `WebSocketConstructor`
|
|
15
|
-
* - Use {@link layerSocket} when an integration already has a `Socket`
|
|
16
|
-
* transport
|
|
17
|
-
*
|
|
18
|
-
* **Gotchas**
|
|
19
|
-
*
|
|
20
|
-
* - The WebSocket helpers default to `ws://localhost:34437`.
|
|
21
|
-
* - These layers install only the client-side tracer; start or connect the
|
|
22
|
-
* devtools server separately.
|
|
23
|
-
* - The tracer is scoped to the runtime or layer graph that receives the layer.
|
|
24
|
-
* - This module is under `unstable`, so the transport protocol and exports may
|
|
25
|
-
* change between releases.
|
|
26
|
-
*
|
|
27
10
|
* @since 4.0.0
|
|
28
11
|
*/
|
|
29
12
|
import * as Layer from "../../Layer.ts"
|
|
@@ -6,30 +6,6 @@
|
|
|
6
6
|
* ping messages, and metric snapshots through a socket, then exposes tracer
|
|
7
7
|
* layers that forward telemetry while preserving the current tracer's behavior.
|
|
8
8
|
*
|
|
9
|
-
* **Mental model**
|
|
10
|
-
*
|
|
11
|
-
* {@link make} creates the scoped client service over the provided `Socket`;
|
|
12
|
-
* {@link makeTracer} wraps the current tracer and sends each span update
|
|
13
|
-
* through that client; {@link layerTracer} combines both steps for integrations
|
|
14
|
-
* that already have a socket transport. The higher-level `DevTools` module
|
|
15
|
-
* provides WebSocket defaults for applications.
|
|
16
|
-
*
|
|
17
|
-
* **Common tasks**
|
|
18
|
-
*
|
|
19
|
-
* - Build the client service directly with {@link make} or {@link layer}
|
|
20
|
-
* - Install only the forwarding tracer with {@link makeTracer}
|
|
21
|
-
* - Create the client and tracer together with {@link layerTracer}
|
|
22
|
-
* - Send custom span or span-event messages through `DevToolsClient.sendUnsafe`
|
|
23
|
-
*
|
|
24
|
-
* **Gotchas**
|
|
25
|
-
*
|
|
26
|
-
* - The client is scoped because it starts background fibers for the socket
|
|
27
|
-
* stream and heartbeat.
|
|
28
|
-
* - `sendUnsafe` enqueues telemetry without back pressure and should stay on
|
|
29
|
-
* the tracer hot path.
|
|
30
|
-
* - This module does not create a socket transport; provide `Socket` yourself
|
|
31
|
-
* or use the higher-level `DevTools` module.
|
|
32
|
-
*
|
|
33
9
|
* @since 4.0.0
|
|
34
10
|
*/
|
|
35
11
|
import * as Cause from "../../Cause.ts"
|
|
@@ -7,23 +7,6 @@
|
|
|
7
7
|
* boundaries to encode, decode, or validate custom transports that need to
|
|
8
8
|
* interoperate with the built-in unstable devtools client and server.
|
|
9
9
|
*
|
|
10
|
-
* **Mental model**
|
|
11
|
-
*
|
|
12
|
-
* `Request` messages flow from the runtime-side devtools client to the server:
|
|
13
|
-
* `Ping`, `Span`, `SpanEvent`, and `MetricsSnapshot`. `Response` messages flow
|
|
14
|
-
* back from the server: `Pong` and `MetricsRequest`. The `WithoutPing` and
|
|
15
|
-
* `WithoutPong` helper types match the server behavior, where heartbeat
|
|
16
|
-
* messages are handled internally and user handlers see only application-level
|
|
17
|
-
* protocol messages.
|
|
18
|
-
*
|
|
19
|
-
* **Gotchas**
|
|
20
|
-
*
|
|
21
|
-
* These schemas describe transport payloads, not the full in-memory tracer or
|
|
22
|
-
* metric data structures. Ended span exits erase successful values with
|
|
23
|
-
* `Exit.asVoid`, timestamps are represented as `bigint`s, and attributes remain
|
|
24
|
-
* intentionally open-ended. Because this module lives under `unstable`, the
|
|
25
|
-
* protocol shape may change between releases.
|
|
26
|
-
*
|
|
27
10
|
* @since 4.0.0
|
|
28
11
|
*/
|
|
29
12
|
import * as Exit from "../../Exit.ts"
|
|
@@ -7,19 +7,6 @@
|
|
|
7
7
|
* metrics itself; it gives handlers a typed surface for the telemetry described
|
|
8
8
|
* by `DevToolsSchema`.
|
|
9
9
|
*
|
|
10
|
-
* **Mental model**
|
|
11
|
-
*
|
|
12
|
-
* Each accepted socket becomes one `Client`. Incoming `Ping` requests are
|
|
13
|
-
* answered internally with `Pong`, while all other decoded requests are offered
|
|
14
|
-
* to the client's queue. Handler code reads that queue and sends non-pong
|
|
15
|
-
* responses such as `MetricsRequest` through `Client.send`.
|
|
16
|
-
*
|
|
17
|
-
* **Gotchas**
|
|
18
|
-
*
|
|
19
|
-
* The client queue is scoped to the socket-processing fiber and is shut down
|
|
20
|
-
* when that fiber terminates. Treat it as per-connection state, not as a
|
|
21
|
-
* process-wide telemetry bus.
|
|
22
|
-
*
|
|
23
10
|
* @since 4.0.0
|
|
24
11
|
*/
|
|
25
12
|
import * as Effect from "../../Effect.ts"
|