effect 4.0.0-beta.73 → 4.0.0-beta.74
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 +16 -16
- package/dist/Array.js +4 -4
- package/dist/Boolean.d.ts +2 -2
- package/dist/Boolean.js +2 -2
- package/dist/Channel.d.ts +63 -63
- package/dist/Channel.js +25 -25
- package/dist/Chunk.d.ts +17 -17
- package/dist/Chunk.js +5 -5
- package/dist/Context.d.ts +3 -3
- package/dist/Context.js +1 -1
- package/dist/Cron.d.ts +4 -4
- package/dist/Cron.js +4 -4
- package/dist/Deferred.d.ts +37 -37
- package/dist/Deferred.js +13 -13
- package/dist/Duration.d.ts +6 -6
- package/dist/Duration.js +2 -2
- package/dist/Effect.d.ts +58 -58
- package/dist/Effect.js +39 -39
- package/dist/Equal.d.ts +2 -2
- package/dist/Equal.js +2 -2
- package/dist/Equivalence.d.ts +1 -1
- package/dist/Equivalence.js +1 -1
- package/dist/ExecutionPlan.d.ts +2 -2
- package/dist/ExecutionPlan.js +1 -1
- package/dist/FileSystem.d.ts +6 -6
- package/dist/FileSystem.js +2 -2
- package/dist/Function.d.ts +5 -5
- package/dist/Function.js +5 -5
- package/dist/Graph.d.ts +11 -11
- package/dist/Graph.js +5 -5
- package/dist/HKT.d.ts +1 -1
- package/dist/HashMap.d.ts +3 -3
- package/dist/HashSet.d.ts +1 -1
- package/dist/Iterable.d.ts +15 -15
- package/dist/Iterable.js +5 -5
- package/dist/Layer.d.ts +16 -16
- package/dist/Layer.js +5 -5
- package/dist/Logger.d.ts +5 -5
- package/dist/Logger.js +4 -4
- package/dist/ManagedRuntime.d.ts +2 -2
- package/dist/Match.d.ts +20 -20
- package/dist/Match.js +16 -16
- package/dist/Metric.d.ts +16 -16
- package/dist/Metric.js +3 -3
- package/dist/Option.d.ts +36 -36
- package/dist/Option.js +17 -17
- package/dist/Order.d.ts +1 -1
- package/dist/Order.js +1 -1
- package/dist/Path.d.ts +1 -1
- package/dist/Path.js +1 -1
- package/dist/Pipeable.d.ts +1 -1
- package/dist/Pipeable.js +1 -1
- package/dist/Predicate.d.ts +5 -5
- package/dist/PubSub.d.ts +9 -9
- package/dist/PubSub.js +5 -5
- package/dist/Queue.d.ts +24 -24
- package/dist/Queue.js +20 -20
- package/dist/Record.d.ts +15 -15
- package/dist/Record.js +5 -5
- package/dist/Redacted.d.ts +2 -2
- package/dist/Redacted.js +1 -1
- package/dist/Ref.d.ts +6 -6
- package/dist/Ref.js +6 -6
- package/dist/RegExp.d.ts +1 -1
- package/dist/RegExp.js +1 -1
- package/dist/Request.d.ts +4 -4
- package/dist/RequestResolver.d.ts +6 -6
- package/dist/RequestResolver.js +2 -2
- package/dist/Resource.d.ts +1 -1
- package/dist/Resource.js +1 -1
- package/dist/Result.d.ts +18 -18
- package/dist/Result.js +11 -11
- package/dist/Schedule.d.ts +44 -44
- package/dist/Schedule.js +18 -18
- package/dist/Schema.d.ts +177 -459
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +25 -25
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +1 -1
- package/dist/SchemaGetter.d.ts +13 -13
- package/dist/SchemaGetter.js +12 -12
- package/dist/SchemaParser.d.ts +3 -3
- package/dist/SchemaParser.js +3 -3
- package/dist/Scope.d.ts +1 -1
- package/dist/Scope.js +1 -1
- package/dist/Sink.d.ts +5 -5
- package/dist/Sink.js +3 -3
- package/dist/Stream.d.ts +55 -55
- package/dist/Stream.js +21 -21
- package/dist/String.d.ts +5 -5
- package/dist/String.js +3 -3
- package/dist/Struct.d.ts +8 -8
- package/dist/Struct.js +3 -3
- package/dist/SynchronizedRef.d.ts +57 -57
- package/dist/SynchronizedRef.js +19 -19
- package/dist/Terminal.d.ts +1 -1
- package/dist/Terminal.js +1 -1
- package/dist/Tracer.d.ts +5 -5
- package/dist/Tracer.js +2 -2
- package/dist/Tuple.d.ts +14 -14
- package/dist/Tuple.js +6 -6
- package/dist/TxHashMap.d.ts +3 -3
- package/dist/TxHashSet.d.ts +1 -1
- package/dist/Unify.d.ts +7 -7
- package/dist/Unify.js +1 -1
- package/dist/testing/TestClock.d.ts +5 -5
- package/dist/testing/TestClock.js +4 -4
- package/dist/testing/TestConsole.d.ts +3 -3
- package/dist/testing/TestConsole.js +3 -3
- package/dist/unstable/ai/Chat.d.ts +2 -2
- package/dist/unstable/ai/Chat.js +2 -2
- package/dist/unstable/ai/EmbeddingModel.d.ts +1 -1
- package/dist/unstable/ai/IdGenerator.d.ts +2 -2
- package/dist/unstable/ai/IdGenerator.js +1 -1
- package/dist/unstable/ai/LanguageModel.d.ts +4 -4
- package/dist/unstable/ai/LanguageModel.js +1 -1
- package/dist/unstable/ai/Prompt.d.ts +15 -15
- package/dist/unstable/ai/Prompt.js +1 -1
- package/dist/unstable/ai/Telemetry.d.ts +5 -5
- package/dist/unstable/ai/Telemetry.js +2 -2
- package/dist/unstable/ai/Tokenizer.d.ts +1 -1
- package/dist/unstable/ai/Tokenizer.js +1 -1
- package/dist/unstable/ai/Tool.d.ts +6 -6
- package/dist/unstable/ai/Tool.js +6 -6
- package/dist/unstable/cli/Command.d.ts.map +1 -1
- package/dist/unstable/cli/Command.js +1 -1
- package/dist/unstable/cli/Command.js.map +1 -1
- package/dist/unstable/cli/Param.d.ts +1 -1
- package/dist/unstable/cli/Primitive.d.ts +3 -3
- package/dist/unstable/cli/Primitive.js +1 -1
- package/dist/unstable/cli/Prompt.d.ts +11 -11
- package/dist/unstable/cli/internal/parser.js +145 -10
- package/dist/unstable/cli/internal/parser.js.map +1 -1
- package/dist/unstable/cluster/Entity.d.ts +1 -1
- package/dist/unstable/cluster/Entity.js +1 -1
- package/dist/unstable/cluster/HttpRunner.d.ts +2 -2
- package/dist/unstable/cluster/HttpRunner.js +2 -2
- package/dist/unstable/cluster/K8sHttpClient.d.ts +1 -1
- package/dist/unstable/cluster/K8sHttpClient.js +1 -1
- package/dist/unstable/cluster/Runners.d.ts +1 -1
- package/dist/unstable/cluster/Runners.js +1 -1
- package/dist/unstable/cluster/Sharding.d.ts +1 -1
- package/dist/unstable/cluster/Sharding.js +1 -1
- package/dist/unstable/cluster/SingletonAddress.d.ts +1 -1
- package/dist/unstable/cluster/SingletonAddress.js +1 -1
- package/dist/unstable/cluster/Snowflake.d.ts +5 -5
- package/dist/unstable/cluster/Snowflake.js +5 -5
- package/dist/unstable/devtools/DevToolsClient.d.ts +1 -1
- package/dist/unstable/devtools/DevToolsClient.js +1 -1
- package/dist/unstable/eventlog/EventLog.d.ts +1 -1
- package/dist/unstable/eventlog/EventLog.js +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.d.ts +1 -1
- package/dist/unstable/eventlog/EventLogEncryption.js +1 -1
- package/dist/unstable/eventlog/EventLogRemote.d.ts +1 -1
- package/dist/unstable/eventlog/EventLogRemote.js +1 -1
- package/dist/unstable/eventlog/EventLogServerUnencrypted.d.ts +3 -3
- package/dist/unstable/eventlog/EventLogServerUnencrypted.js +3 -3
- package/dist/unstable/http/Cookies.d.ts +1 -1
- package/dist/unstable/http/Etag.d.ts +1 -1
- package/dist/unstable/http/Etag.js +1 -1
- package/dist/unstable/http/FetchHttpClient.d.ts +2 -2
- package/dist/unstable/http/FetchHttpClient.js +2 -2
- package/dist/unstable/http/HttpClient.d.ts +1 -1
- package/dist/unstable/http/HttpClient.js +1 -1
- package/dist/unstable/http/HttpClientRequest.d.ts +2 -2
- package/dist/unstable/http/HttpMiddleware.d.ts +1 -1
- package/dist/unstable/http/HttpMiddleware.js +1 -1
- package/dist/unstable/http/HttpPlatform.d.ts +1 -1
- package/dist/unstable/http/HttpPlatform.js +1 -1
- package/dist/unstable/http/HttpRouter.d.ts +4 -4
- package/dist/unstable/http/HttpRouter.js +4 -4
- package/dist/unstable/http/HttpServerResponse.d.ts +3 -3
- package/dist/unstable/http/Url.d.ts +33 -33
- package/dist/unstable/http/Url.js +11 -11
- package/dist/unstable/httpapi/HttpApi.d.ts +1 -1
- package/dist/unstable/httpapi/HttpApi.js +1 -1
- package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
- package/dist/unstable/httpapi/HttpApiError.js +13 -13
- package/dist/unstable/observability/PrometheusMetrics.d.ts +4 -4
- package/dist/unstable/observability/PrometheusMetrics.js +2 -2
- package/dist/unstable/persistence/KeyValueStore.d.ts +3 -3
- package/dist/unstable/persistence/KeyValueStore.js +1 -1
- package/dist/unstable/persistence/Persistable.d.ts +2 -2
- package/dist/unstable/persistence/Persistable.js +2 -2
- package/dist/unstable/persistence/PersistedQueue.d.ts +8 -8
- package/dist/unstable/persistence/PersistedQueue.js +8 -8
- package/dist/unstable/persistence/RateLimiter.d.ts +1 -1
- package/dist/unstable/persistence/RateLimiter.js +1 -1
- package/dist/unstable/process/ChildProcess.d.ts +5 -5
- package/dist/unstable/process/ChildProcess.js +2 -2
- package/dist/unstable/reactivity/AsyncResult.d.ts +4 -4
- package/dist/unstable/reactivity/AsyncResult.js +1 -1
- package/dist/unstable/reactivity/Atom.d.ts +1 -1
- package/dist/unstable/reactivity/Atom.js +1 -1
- package/dist/unstable/reactivity/AtomRegistry.d.ts +1 -1
- package/dist/unstable/reactivity/AtomRegistry.js +1 -1
- package/dist/unstable/reactivity/Reactivity.d.ts +1 -1
- package/dist/unstable/reactivity/Reactivity.js +1 -1
- package/dist/unstable/rpc/Rpc.d.ts +5 -5
- package/dist/unstable/rpc/Rpc.js +1 -1
- package/dist/unstable/rpc/RpcMiddleware.d.ts +1 -1
- package/dist/unstable/rpc/RpcMiddleware.js +1 -1
- package/dist/unstable/rpc/RpcSchema.d.ts +3 -3
- package/dist/unstable/rpc/RpcSchema.js +2 -2
- package/dist/unstable/schema/Model.d.ts +2 -2
- package/dist/unstable/schema/Model.js +1 -1
- package/dist/unstable/socket/Socket.d.ts +3 -3
- package/dist/unstable/socket/Socket.js +3 -3
- package/dist/unstable/socket/SocketServer.d.ts +1 -1
- package/dist/unstable/socket/SocketServer.js +1 -1
- package/dist/unstable/sql/Migrator.d.ts +1 -1
- package/dist/unstable/sql/SqlClient.d.ts +3 -3
- package/dist/unstable/sql/SqlClient.js +2 -2
- package/dist/unstable/sql/SqlConnection.d.ts +1 -1
- package/dist/unstable/sql/SqlConnection.js +1 -1
- package/dist/unstable/sql/Statement.d.ts +2 -2
- package/dist/unstable/sql/Statement.js +2 -2
- package/dist/unstable/workers/Transferable.d.ts +1 -1
- package/dist/unstable/workers/Transferable.js +1 -1
- package/dist/unstable/workers/Worker.d.ts +1 -1
- package/dist/unstable/workers/Worker.js +1 -1
- package/dist/unstable/workflow/Activity.d.ts +1 -1
- package/dist/unstable/workflow/Activity.js +1 -1
- package/dist/unstable/workflow/DurableDeferred.d.ts +1 -1
- package/dist/unstable/workflow/DurableDeferred.js +1 -1
- package/package.json +1 -1
- package/src/Array.ts +16 -16
- package/src/Boolean.ts +2 -2
- package/src/Channel.ts +67 -67
- package/src/Chunk.ts +18 -18
- package/src/Context.ts +4 -4
- package/src/Cron.ts +4 -4
- package/src/Deferred.ts +37 -37
- package/src/Duration.ts +6 -6
- package/src/Effect.ts +58 -58
- package/src/Equal.ts +2 -2
- package/src/Equivalence.ts +1 -1
- package/src/ExecutionPlan.ts +2 -2
- package/src/FileSystem.ts +6 -6
- package/src/Function.ts +5 -5
- package/src/Graph.ts +11 -11
- package/src/HKT.ts +1 -1
- package/src/HashMap.ts +3 -3
- package/src/HashSet.ts +1 -1
- package/src/Iterable.ts +15 -15
- package/src/Layer.ts +16 -16
- package/src/Logger.ts +7 -7
- package/src/ManagedRuntime.ts +2 -2
- package/src/Match.ts +20 -20
- package/src/Metric.ts +20 -20
- package/src/Option.ts +36 -36
- package/src/Order.ts +1 -1
- package/src/Path.ts +1 -1
- package/src/Pipeable.ts +1 -1
- package/src/Predicate.ts +5 -5
- package/src/PubSub.ts +9 -9
- package/src/Queue.ts +24 -24
- package/src/Record.ts +15 -15
- package/src/Redacted.ts +2 -2
- package/src/Ref.ts +18 -18
- package/src/RegExp.ts +1 -1
- package/src/Request.ts +4 -4
- package/src/RequestResolver.ts +8 -8
- package/src/Resource.ts +1 -1
- package/src/Result.ts +18 -18
- package/src/Schedule.ts +45 -45
- package/src/Schema.ts +177 -459
- package/src/SchemaAST.ts +1 -1
- package/src/SchemaGetter.ts +13 -13
- package/src/SchemaParser.ts +3 -3
- package/src/Scope.ts +1 -1
- package/src/Sink.ts +5 -5
- package/src/Stream.ts +57 -57
- package/src/String.ts +5 -5
- package/src/Struct.ts +8 -8
- package/src/SynchronizedRef.ts +57 -57
- package/src/Terminal.ts +1 -1
- package/src/Tracer.ts +5 -5
- package/src/Tuple.ts +14 -14
- package/src/TxHashMap.ts +3 -3
- package/src/TxHashSet.ts +1 -1
- package/src/Unify.ts +7 -7
- package/src/testing/TestClock.ts +5 -5
- package/src/testing/TestConsole.ts +3 -3
- package/src/unstable/ai/Chat.ts +2 -2
- package/src/unstable/ai/EmbeddingModel.ts +1 -1
- package/src/unstable/ai/IdGenerator.ts +2 -2
- package/src/unstable/ai/LanguageModel.ts +4 -4
- package/src/unstable/ai/Prompt.ts +15 -15
- package/src/unstable/ai/Telemetry.ts +5 -5
- package/src/unstable/ai/Tokenizer.ts +1 -1
- package/src/unstable/ai/Tool.ts +6 -6
- package/src/unstable/cli/Command.ts +5 -1
- package/src/unstable/cli/Param.ts +1 -1
- package/src/unstable/cli/Primitive.ts +3 -3
- package/src/unstable/cli/Prompt.ts +11 -11
- package/src/unstable/cli/internal/parser.ts +204 -10
- package/src/unstable/cluster/Entity.ts +1 -1
- package/src/unstable/cluster/HttpRunner.ts +2 -2
- package/src/unstable/cluster/K8sHttpClient.ts +1 -1
- package/src/unstable/cluster/Runners.ts +1 -1
- package/src/unstable/cluster/Sharding.ts +1 -1
- package/src/unstable/cluster/SingletonAddress.ts +1 -1
- package/src/unstable/cluster/Snowflake.ts +5 -5
- package/src/unstable/devtools/DevToolsClient.ts +1 -1
- package/src/unstable/eventlog/EventLog.ts +1 -1
- package/src/unstable/eventlog/EventLogEncryption.ts +1 -1
- package/src/unstable/eventlog/EventLogRemote.ts +1 -1
- package/src/unstable/eventlog/EventLogServerUnencrypted.ts +3 -3
- package/src/unstable/http/Cookies.ts +1 -1
- package/src/unstable/http/Etag.ts +1 -1
- package/src/unstable/http/FetchHttpClient.ts +2 -2
- package/src/unstable/http/HttpClient.ts +1 -1
- package/src/unstable/http/HttpClientRequest.ts +2 -2
- package/src/unstable/http/HttpMiddleware.ts +1 -1
- package/src/unstable/http/HttpPlatform.ts +1 -1
- package/src/unstable/http/HttpRouter.ts +4 -4
- package/src/unstable/http/HttpServerResponse.ts +3 -3
- package/src/unstable/http/Url.ts +33 -33
- package/src/unstable/httpapi/HttpApi.ts +1 -1
- package/src/unstable/httpapi/HttpApiError.ts +13 -13
- package/src/unstable/observability/PrometheusMetrics.ts +4 -4
- package/src/unstable/persistence/KeyValueStore.ts +3 -3
- package/src/unstable/persistence/Persistable.ts +2 -2
- package/src/unstable/persistence/PersistedQueue.ts +8 -8
- package/src/unstable/persistence/RateLimiter.ts +1 -1
- package/src/unstable/process/ChildProcess.ts +5 -5
- package/src/unstable/reactivity/AsyncResult.ts +4 -4
- package/src/unstable/reactivity/Atom.ts +1 -1
- package/src/unstable/reactivity/AtomRegistry.ts +1 -1
- package/src/unstable/reactivity/Reactivity.ts +1 -1
- package/src/unstable/rpc/Rpc.ts +5 -5
- package/src/unstable/rpc/RpcMiddleware.ts +1 -1
- package/src/unstable/rpc/RpcSchema.ts +3 -3
- package/src/unstable/schema/Model.ts +2 -2
- package/src/unstable/socket/Socket.ts +3 -3
- package/src/unstable/socket/SocketServer.ts +1 -1
- package/src/unstable/sql/Migrator.ts +1 -1
- package/src/unstable/sql/SqlClient.ts +3 -3
- package/src/unstable/sql/SqlConnection.ts +1 -1
- package/src/unstable/sql/Statement.ts +2 -2
- package/src/unstable/workers/Transferable.ts +1 -1
- package/src/unstable/workers/Worker.ts +1 -1
- package/src/unstable/workflow/Activity.ts +1 -1
- package/src/unstable/workflow/DurableDeferred.ts +1 -1
package/src/Channel.ts
CHANGED
|
@@ -3521,7 +3521,7 @@ export const flatten = <
|
|
|
3521
3521
|
* // Outputs: 1, 2, 3, 4, 5, 6, 7, 8, 9
|
|
3522
3522
|
* ```
|
|
3523
3523
|
*
|
|
3524
|
-
* @category
|
|
3524
|
+
* @category transforming
|
|
3525
3525
|
* @since 4.0.0
|
|
3526
3526
|
*/
|
|
3527
3527
|
export const flattenArray = <
|
|
@@ -3572,7 +3572,7 @@ export const flattenArray = <
|
|
|
3572
3572
|
* Output `Take` values are emitted as non-empty arrays. Failed `Take` values
|
|
3573
3573
|
* fail the returned channel. Done `Take` values complete the returned channel.
|
|
3574
3574
|
*
|
|
3575
|
-
* @category
|
|
3575
|
+
* @category transforming
|
|
3576
3576
|
* @since 4.0.0
|
|
3577
3577
|
*/
|
|
3578
3578
|
export const flattenTake = <
|
|
@@ -3636,14 +3636,14 @@ export const drain = <
|
|
|
3636
3636
|
/**
|
|
3637
3637
|
* Repeats this channel according to the provided schedule.
|
|
3638
3638
|
*
|
|
3639
|
-
* @category
|
|
3639
|
+
* @category repetition
|
|
3640
3640
|
* @since 4.0.0
|
|
3641
3641
|
*/
|
|
3642
3642
|
export const repeat: {
|
|
3643
3643
|
/**
|
|
3644
3644
|
* Repeats this channel according to the provided schedule.
|
|
3645
3645
|
*
|
|
3646
|
-
* @category
|
|
3646
|
+
* @category repetition
|
|
3647
3647
|
* @since 4.0.0
|
|
3648
3648
|
*/
|
|
3649
3649
|
<SO, OutDone, SE, SR>(
|
|
@@ -3658,7 +3658,7 @@ export const repeat: {
|
|
|
3658
3658
|
/**
|
|
3659
3659
|
* Repeats this channel according to the provided schedule.
|
|
3660
3660
|
*
|
|
3661
|
-
* @category
|
|
3661
|
+
* @category repetition
|
|
3662
3662
|
* @since 4.0.0
|
|
3663
3663
|
*/
|
|
3664
3664
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(
|
|
@@ -3708,7 +3708,7 @@ export const repeat: {
|
|
|
3708
3708
|
/**
|
|
3709
3709
|
* Repeats this channel forever.
|
|
3710
3710
|
*
|
|
3711
|
-
* @category
|
|
3711
|
+
* @category repetition
|
|
3712
3712
|
* @since 4.0.0
|
|
3713
3713
|
*/
|
|
3714
3714
|
export const forever = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -3726,7 +3726,7 @@ export const forever = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
|
3726
3726
|
* fails. If the schedule finishes, the returned channel completes with the
|
|
3727
3727
|
* schedule output.
|
|
3728
3728
|
*
|
|
3729
|
-
* @category
|
|
3729
|
+
* @category sequencing
|
|
3730
3730
|
* @since 4.0.0
|
|
3731
3731
|
*/
|
|
3732
3732
|
export const schedule: {
|
|
@@ -3741,7 +3741,7 @@ export const schedule: {
|
|
|
3741
3741
|
* fails. If the schedule finishes, the returned channel completes with the
|
|
3742
3742
|
* schedule output.
|
|
3743
3743
|
*
|
|
3744
|
-
* @category
|
|
3744
|
+
* @category sequencing
|
|
3745
3745
|
* @since 4.0.0
|
|
3746
3746
|
*/
|
|
3747
3747
|
<SO, OutElem, SE, SR>(schedule: Schedule.Schedule<SO, Types.NoInfer<OutElem>, SE, SR>): <OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -3758,7 +3758,7 @@ export const schedule: {
|
|
|
3758
3758
|
* fails. If the schedule finishes, the returned channel completes with the
|
|
3759
3759
|
* schedule output.
|
|
3760
3760
|
*
|
|
3761
|
-
* @category
|
|
3761
|
+
* @category sequencing
|
|
3762
3762
|
* @since 4.0.0
|
|
3763
3763
|
*/
|
|
3764
3764
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(
|
|
@@ -7495,7 +7495,7 @@ export const ignoreCause: <
|
|
|
7495
7495
|
* Returns a new channel that retries this channel according to the specified
|
|
7496
7496
|
* schedule whenever it fails.
|
|
7497
7497
|
*
|
|
7498
|
-
* @category
|
|
7498
|
+
* @category error handling
|
|
7499
7499
|
* @since 4.0.0
|
|
7500
7500
|
*/
|
|
7501
7501
|
export const retry: {
|
|
@@ -7503,7 +7503,7 @@ export const retry: {
|
|
|
7503
7503
|
* Returns a new channel that retries this channel according to the specified
|
|
7504
7504
|
* schedule whenever it fails.
|
|
7505
7505
|
*
|
|
7506
|
-
* @category
|
|
7506
|
+
* @category error handling
|
|
7507
7507
|
* @since 4.0.0
|
|
7508
7508
|
*/
|
|
7509
7509
|
<SO, OutErr, SE, SR>(
|
|
@@ -7521,7 +7521,7 @@ export const retry: {
|
|
|
7521
7521
|
* Returns a new channel that retries this channel according to the specified
|
|
7522
7522
|
* schedule whenever it fails.
|
|
7523
7523
|
*
|
|
7524
|
-
* @category
|
|
7524
|
+
* @category error handling
|
|
7525
7525
|
* @since 4.0.0
|
|
7526
7526
|
*/
|
|
7527
7527
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, SO, SE, SR>(
|
|
@@ -7798,7 +7798,7 @@ export const switchMap: {
|
|
|
7798
7798
|
* // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
|
|
7799
7799
|
* ```
|
|
7800
7800
|
*
|
|
7801
|
-
* @category
|
|
7801
|
+
* @category combining
|
|
7802
7802
|
* @since 2.0.0
|
|
7803
7803
|
*/
|
|
7804
7804
|
export const mergeAll: {
|
|
@@ -7830,7 +7830,7 @@ export const mergeAll: {
|
|
|
7830
7830
|
* // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
|
|
7831
7831
|
* ```
|
|
7832
7832
|
*
|
|
7833
|
-
* @category
|
|
7833
|
+
* @category combining
|
|
7834
7834
|
* @since 2.0.0
|
|
7835
7835
|
*/
|
|
7836
7836
|
(
|
|
@@ -7886,7 +7886,7 @@ export const mergeAll: {
|
|
|
7886
7886
|
* // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
|
|
7887
7887
|
* ```
|
|
7888
7888
|
*
|
|
7889
|
-
* @category
|
|
7889
|
+
* @category combining
|
|
7890
7890
|
* @since 2.0.0
|
|
7891
7891
|
*/
|
|
7892
7892
|
<OutElem, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -7976,7 +7976,7 @@ export const mergeAll: {
|
|
|
7976
7976
|
* // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
|
|
7977
7977
|
* ```
|
|
7978
7978
|
*
|
|
7979
|
-
* @category
|
|
7979
|
+
* @category combining
|
|
7980
7980
|
* @since 2.0.0
|
|
7981
7981
|
*/
|
|
7982
7982
|
OutElem, /**
|
|
@@ -8007,7 +8007,7 @@ export const mergeAll: {
|
|
|
8007
8007
|
* // Outputs: 1, 2, 3, 4, 5, 6 (order may vary due to concurrency)
|
|
8008
8008
|
* ```
|
|
8009
8009
|
*
|
|
8010
|
-
* @category
|
|
8010
|
+
* @category combining
|
|
8011
8011
|
* @since 2.0.0
|
|
8012
8012
|
*/
|
|
8013
8013
|
OutErr | OutErr1 | Cause.Done<OutDone>>(
|
|
@@ -8110,7 +8110,7 @@ export type HaltStrategy = "left" | "right" | "both" | "either"
|
|
|
8110
8110
|
* // Order may vary: 1, "a", 2, "b", 3, "c"
|
|
8111
8111
|
* ```
|
|
8112
8112
|
*
|
|
8113
|
-
* @category
|
|
8113
|
+
* @category combining
|
|
8114
8114
|
* @since 4.0.0
|
|
8115
8115
|
*/
|
|
8116
8116
|
export const merge: {
|
|
@@ -8140,7 +8140,7 @@ export const merge: {
|
|
|
8140
8140
|
* // Order may vary: 1, "a", 2, "b", 3, "c"
|
|
8141
8141
|
* ```
|
|
8142
8142
|
*
|
|
8143
|
-
* @category
|
|
8143
|
+
* @category combining
|
|
8144
8144
|
* @since 4.0.0
|
|
8145
8145
|
*/
|
|
8146
8146
|
<OutElem1, OutErr1, OutDone1, InElem1, InErr1, InDone1, Env1>(
|
|
@@ -8185,7 +8185,7 @@ export const merge: {
|
|
|
8185
8185
|
* // Order may vary: 1, "a", 2, "b", 3, "c"
|
|
8186
8186
|
* ```
|
|
8187
8187
|
*
|
|
8188
|
-
* @category
|
|
8188
|
+
* @category combining
|
|
8189
8189
|
* @since 4.0.0
|
|
8190
8190
|
*/
|
|
8191
8191
|
<
|
|
@@ -8276,7 +8276,7 @@ export const merge: {
|
|
|
8276
8276
|
* // Order may vary: 1, "a", 2, "b", 3, "c"
|
|
8277
8277
|
* ```
|
|
8278
8278
|
*
|
|
8279
|
-
* @category
|
|
8279
|
+
* @category combining
|
|
8280
8280
|
* @since 4.0.0
|
|
8281
8281
|
*/
|
|
8282
8282
|
OutElem | OutElem1, /**
|
|
@@ -8305,7 +8305,7 @@ export const merge: {
|
|
|
8305
8305
|
* // Order may vary: 1, "a", 2, "b", 3, "c"
|
|
8306
8306
|
* ```
|
|
8307
8307
|
*
|
|
8308
|
-
* @category
|
|
8308
|
+
* @category combining
|
|
8309
8309
|
* @since 4.0.0
|
|
8310
8310
|
*/
|
|
8311
8311
|
OutErr | OutErr1 | Cause.Done<OutDone | OutDone1>>(0)
|
|
@@ -8374,7 +8374,7 @@ export const merge: {
|
|
|
8374
8374
|
* The effect's successful value is ignored. If the effect fails while the
|
|
8375
8375
|
* channel is running, the returned channel fails with that error.
|
|
8376
8376
|
*
|
|
8377
|
-
* @category
|
|
8377
|
+
* @category combining
|
|
8378
8378
|
* @since 4.0.0
|
|
8379
8379
|
*/
|
|
8380
8380
|
export const mergeEffect: {
|
|
@@ -8387,7 +8387,7 @@ export const mergeEffect: {
|
|
|
8387
8387
|
* The effect's successful value is ignored. If the effect fails while the
|
|
8388
8388
|
* channel is running, the returned channel fails with that error.
|
|
8389
8389
|
*
|
|
8390
|
-
* @category
|
|
8390
|
+
* @category combining
|
|
8391
8391
|
* @since 4.0.0
|
|
8392
8392
|
*/
|
|
8393
8393
|
<X, E, R>(effect: Effect.Effect<X, E, R>): <OutElem, OutDone, OutErr, InElem, InErr, InDone, Env>(
|
|
@@ -8402,7 +8402,7 @@ export const mergeEffect: {
|
|
|
8402
8402
|
* The effect's successful value is ignored. If the effect fails while the
|
|
8403
8403
|
* channel is running, the returned channel fails with that error.
|
|
8404
8404
|
*
|
|
8405
|
-
* @category
|
|
8405
|
+
* @category combining
|
|
8406
8406
|
* @since 4.0.0
|
|
8407
8407
|
*/
|
|
8408
8408
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, X, E, R>(
|
|
@@ -8628,7 +8628,7 @@ export const encodeText = <Err, Done>(): Channel<
|
|
|
8628
8628
|
* // Outputs: 2, 4, 6
|
|
8629
8629
|
* ```
|
|
8630
8630
|
*
|
|
8631
|
-
* @category
|
|
8631
|
+
* @category sequencing
|
|
8632
8632
|
* @since 2.0.0
|
|
8633
8633
|
*/
|
|
8634
8634
|
export const pipeTo: {
|
|
@@ -8657,7 +8657,7 @@ export const pipeTo: {
|
|
|
8657
8657
|
* // Outputs: 2, 4, 6
|
|
8658
8658
|
* ```
|
|
8659
8659
|
*
|
|
8660
|
-
* @category
|
|
8660
|
+
* @category sequencing
|
|
8661
8661
|
* @since 2.0.0
|
|
8662
8662
|
*/
|
|
8663
8663
|
<OutElem2, OutErr2, OutDone2, OutElem, OutErr, OutDone, Env2>(that: Channel<OutElem2, OutErr2, OutDone2, OutElem, OutErr, OutDone, Env2>): <InElem, InErr, InDone, Env>(
|
|
@@ -8688,7 +8688,7 @@ export const pipeTo: {
|
|
|
8688
8688
|
* // Outputs: 2, 4, 6
|
|
8689
8689
|
* ```
|
|
8690
8690
|
*
|
|
8691
|
-
* @category
|
|
8691
|
+
* @category sequencing
|
|
8692
8692
|
* @since 2.0.0
|
|
8693
8693
|
*/
|
|
8694
8694
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutElem2, OutErr2, OutDone2, Env2>(
|
|
@@ -8730,7 +8730,7 @@ export const pipeTo: {
|
|
|
8730
8730
|
* // Source errors are preserved and not sent to transform channel
|
|
8731
8731
|
* ```
|
|
8732
8732
|
*
|
|
8733
|
-
* @category
|
|
8733
|
+
* @category sequencing
|
|
8734
8734
|
* @since 2.0.0
|
|
8735
8735
|
*/
|
|
8736
8736
|
export const pipeToOrFail: {
|
|
@@ -8758,7 +8758,7 @@ export const pipeToOrFail: {
|
|
|
8758
8758
|
* // Source errors are preserved and not sent to transform channel
|
|
8759
8759
|
* ```
|
|
8760
8760
|
*
|
|
8761
|
-
* @category
|
|
8761
|
+
* @category sequencing
|
|
8762
8762
|
* @since 2.0.0
|
|
8763
8763
|
*/
|
|
8764
8764
|
<OutElem2, OutErr2, OutDone2, OutElem, OutDone, Env2>(that: Channel<OutElem2, OutErr2, OutDone2, OutElem, never, OutDone, Env2>): <OutErr, InElem, InErr, InDone, Env>(
|
|
@@ -8788,7 +8788,7 @@ export const pipeToOrFail: {
|
|
|
8788
8788
|
* // Source errors are preserved and not sent to transform channel
|
|
8789
8789
|
* ```
|
|
8790
8790
|
*
|
|
8791
|
-
* @category
|
|
8791
|
+
* @category sequencing
|
|
8792
8792
|
* @since 2.0.0
|
|
8793
8793
|
*/
|
|
8794
8794
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutElem2, OutErr2, OutDone2, Env2>(
|
|
@@ -8867,7 +8867,7 @@ export const unwrap = <OutElem, OutErr, OutDone, InElem, InErr, InDone, R2, E, R
|
|
|
8867
8867
|
* Runs a channel with a scope provided for the duration of the channel
|
|
8868
8868
|
* execution, removing the channel's `Scope` requirement.
|
|
8869
8869
|
*
|
|
8870
|
-
* @category
|
|
8870
|
+
* @category resource management
|
|
8871
8871
|
* @since 2.0.0
|
|
8872
8872
|
*/
|
|
8873
8873
|
export const scoped = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -8911,7 +8911,7 @@ export const scoped = <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
|
8911
8911
|
* )
|
|
8912
8912
|
* ```
|
|
8913
8913
|
*
|
|
8914
|
-
* @category
|
|
8914
|
+
* @category sequencing
|
|
8915
8915
|
* @since 2.0.0
|
|
8916
8916
|
*/
|
|
8917
8917
|
export const embedInput: {
|
|
@@ -8946,7 +8946,7 @@ export const embedInput: {
|
|
|
8946
8946
|
* )
|
|
8947
8947
|
* ```
|
|
8948
8948
|
*
|
|
8949
|
-
* @category
|
|
8949
|
+
* @category sequencing
|
|
8950
8950
|
* @since 2.0.0
|
|
8951
8951
|
*/
|
|
8952
8952
|
<InElem, InErr, InDone, R>(
|
|
@@ -8987,7 +8987,7 @@ export const embedInput: {
|
|
|
8987
8987
|
* )
|
|
8988
8988
|
* ```
|
|
8989
8989
|
*
|
|
8990
|
-
* @category
|
|
8990
|
+
* @category sequencing
|
|
8991
8991
|
* @since 2.0.0
|
|
8992
8992
|
*/
|
|
8993
8993
|
<OutElem, OutErr, OutDone, Env, InErr, InElem, InDone, R>(
|
|
@@ -9314,7 +9314,7 @@ export const bufferArray: {
|
|
|
9314
9314
|
* channel's done value. If the channel completes first, the original channel's
|
|
9315
9315
|
* done value is preserved.
|
|
9316
9316
|
*
|
|
9317
|
-
* @category
|
|
9317
|
+
* @category interruption
|
|
9318
9318
|
* @since 2.0.0
|
|
9319
9319
|
*/
|
|
9320
9320
|
export const interruptWhen: {
|
|
@@ -9332,7 +9332,7 @@ export const interruptWhen: {
|
|
|
9332
9332
|
* channel's done value. If the channel completes first, the original channel's
|
|
9333
9333
|
* done value is preserved.
|
|
9334
9334
|
*
|
|
9335
|
-
* @category
|
|
9335
|
+
* @category interruption
|
|
9336
9336
|
* @since 2.0.0
|
|
9337
9337
|
*/
|
|
9338
9338
|
<OutDone2, OutErr2, Env2>(effect: Effect.Effect<OutDone2, OutErr2, Env2>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -9352,7 +9352,7 @@ export const interruptWhen: {
|
|
|
9352
9352
|
* channel's done value. If the channel completes first, the original channel's
|
|
9353
9353
|
* done value is preserved.
|
|
9354
9354
|
*
|
|
9355
|
-
* @category
|
|
9355
|
+
* @category interruption
|
|
9356
9356
|
* @since 2.0.0
|
|
9357
9357
|
*/
|
|
9358
9358
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutDone2, OutErr2, Env2>(
|
|
@@ -9379,7 +9379,7 @@ export const interruptWhen: {
|
|
|
9379
9379
|
* fails with that error. If the channel completes first, the channel's done
|
|
9380
9380
|
* value is preserved.
|
|
9381
9381
|
*
|
|
9382
|
-
* @category
|
|
9382
|
+
* @category interruption
|
|
9383
9383
|
* @since 4.0.0
|
|
9384
9384
|
*/
|
|
9385
9385
|
export const haltWhen: {
|
|
@@ -9393,7 +9393,7 @@ export const haltWhen: {
|
|
|
9393
9393
|
* fails with that error. If the channel completes first, the channel's done
|
|
9394
9394
|
* value is preserved.
|
|
9395
9395
|
*
|
|
9396
|
-
* @category
|
|
9396
|
+
* @category interruption
|
|
9397
9397
|
* @since 4.0.0
|
|
9398
9398
|
*/
|
|
9399
9399
|
<OutDone2, OutErr2, Env2>(effect: Effect.Effect<OutDone2, OutErr2, Env2>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -9409,7 +9409,7 @@ export const haltWhen: {
|
|
|
9409
9409
|
* fails with that error. If the channel completes first, the channel's done
|
|
9410
9410
|
* value is preserved.
|
|
9411
9411
|
*
|
|
9412
|
-
* @category
|
|
9412
|
+
* @category interruption
|
|
9413
9413
|
* @since 4.0.0
|
|
9414
9414
|
*/
|
|
9415
9415
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, OutDone2, OutErr2, Env2>(
|
|
@@ -9443,7 +9443,7 @@ export const haltWhen: {
|
|
|
9443
9443
|
* The finalizer receives the failure `Cause`. The original channel failure is
|
|
9444
9444
|
* preserved. The finalizer itself must not fail.
|
|
9445
9445
|
*
|
|
9446
|
-
* @category
|
|
9446
|
+
* @category error handling
|
|
9447
9447
|
* @since 4.0.0
|
|
9448
9448
|
*/
|
|
9449
9449
|
export const onError: {
|
|
@@ -9455,7 +9455,7 @@ export const onError: {
|
|
|
9455
9455
|
* The finalizer receives the failure `Cause`. The original channel failure is
|
|
9456
9456
|
* preserved. The finalizer itself must not fail.
|
|
9457
9457
|
*
|
|
9458
|
-
* @category
|
|
9458
|
+
* @category error handling
|
|
9459
9459
|
* @since 4.0.0
|
|
9460
9460
|
*/
|
|
9461
9461
|
<OutDone, OutErr, Env2>(
|
|
@@ -9471,7 +9471,7 @@ export const onError: {
|
|
|
9471
9471
|
* The finalizer receives the failure `Cause`. The original channel failure is
|
|
9472
9472
|
* preserved. The finalizer itself must not fail.
|
|
9473
9473
|
*
|
|
9474
|
-
* @category
|
|
9474
|
+
* @category error handling
|
|
9475
9475
|
* @since 4.0.0
|
|
9476
9476
|
*/
|
|
9477
9477
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(
|
|
@@ -9510,7 +9510,7 @@ export const onError: {
|
|
|
9510
9510
|
* })
|
|
9511
9511
|
* ```
|
|
9512
9512
|
*
|
|
9513
|
-
* @category
|
|
9513
|
+
* @category resource management
|
|
9514
9514
|
* @since 4.0.0
|
|
9515
9515
|
*/
|
|
9516
9516
|
export const onExit: {
|
|
@@ -9540,7 +9540,7 @@ export const onExit: {
|
|
|
9540
9540
|
* })
|
|
9541
9541
|
* ```
|
|
9542
9542
|
*
|
|
9543
|
-
* @category
|
|
9543
|
+
* @category resource management
|
|
9544
9544
|
* @since 4.0.0
|
|
9545
9545
|
*/
|
|
9546
9546
|
<OutDone, OutErr, Env2>(
|
|
@@ -9574,7 +9574,7 @@ export const onExit: {
|
|
|
9574
9574
|
* })
|
|
9575
9575
|
* ```
|
|
9576
9576
|
*
|
|
9577
|
-
* @category
|
|
9577
|
+
* @category resource management
|
|
9578
9578
|
* @since 4.0.0
|
|
9579
9579
|
*/
|
|
9580
9580
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(
|
|
@@ -9599,7 +9599,7 @@ export const onExit: {
|
|
|
9599
9599
|
* The effect's successful value is ignored. If the effect fails, the returned
|
|
9600
9600
|
* channel fails before running the source channel.
|
|
9601
9601
|
*
|
|
9602
|
-
* @category
|
|
9602
|
+
* @category hooks
|
|
9603
9603
|
* @since 4.0.0
|
|
9604
9604
|
*/
|
|
9605
9605
|
export const onStart: {
|
|
@@ -9611,7 +9611,7 @@ export const onStart: {
|
|
|
9611
9611
|
* The effect's successful value is ignored. If the effect fails, the returned
|
|
9612
9612
|
* channel fails before running the source channel.
|
|
9613
9613
|
*
|
|
9614
|
-
* @category
|
|
9614
|
+
* @category hooks
|
|
9615
9615
|
* @since 4.0.0
|
|
9616
9616
|
*/
|
|
9617
9617
|
<A, E, R>(onStart: Effect.Effect<A, E, R>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -9625,7 +9625,7 @@ export const onStart: {
|
|
|
9625
9625
|
* The effect's successful value is ignored. If the effect fails, the returned
|
|
9626
9626
|
* channel fails before running the source channel.
|
|
9627
9627
|
*
|
|
9628
|
-
* @category
|
|
9628
|
+
* @category hooks
|
|
9629
9629
|
* @since 4.0.0
|
|
9630
9630
|
*/
|
|
9631
9631
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(
|
|
@@ -9646,7 +9646,7 @@ export const onStart: {
|
|
|
9646
9646
|
* emitted unchanged. The effect is not run if the channel completes without
|
|
9647
9647
|
* emitting an element.
|
|
9648
9648
|
*
|
|
9649
|
-
* @category
|
|
9649
|
+
* @category hooks
|
|
9650
9650
|
* @since 4.0.0
|
|
9651
9651
|
*/
|
|
9652
9652
|
export const onFirst: {
|
|
@@ -9659,7 +9659,7 @@ export const onFirst: {
|
|
|
9659
9659
|
* emitted unchanged. The effect is not run if the channel completes without
|
|
9660
9660
|
* emitting an element.
|
|
9661
9661
|
*
|
|
9662
|
-
* @category
|
|
9662
|
+
* @category hooks
|
|
9663
9663
|
* @since 4.0.0
|
|
9664
9664
|
*/
|
|
9665
9665
|
<OutElem, A, E, R>(onFirst: (element: Types.NoInfer<OutElem>) => Effect.Effect<A, E, R>): <OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -9674,7 +9674,7 @@ export const onFirst: {
|
|
|
9674
9674
|
* emitted unchanged. The effect is not run if the channel completes without
|
|
9675
9675
|
* emitting an element.
|
|
9676
9676
|
*
|
|
9677
|
-
* @category
|
|
9677
|
+
* @category hooks
|
|
9678
9678
|
* @since 4.0.0
|
|
9679
9679
|
*/
|
|
9680
9680
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(
|
|
@@ -9704,7 +9704,7 @@ export const onFirst: {
|
|
|
9704
9704
|
* not run when the channel fails. If the effect fails, the returned channel
|
|
9705
9705
|
* fails with that error.
|
|
9706
9706
|
*
|
|
9707
|
-
* @category
|
|
9707
|
+
* @category hooks
|
|
9708
9708
|
* @since 4.0.0
|
|
9709
9709
|
*/
|
|
9710
9710
|
export const onEnd: {
|
|
@@ -9717,7 +9717,7 @@ export const onEnd: {
|
|
|
9717
9717
|
* not run when the channel fails. If the effect fails, the returned channel
|
|
9718
9718
|
* fails with that error.
|
|
9719
9719
|
*
|
|
9720
|
-
* @category
|
|
9720
|
+
* @category hooks
|
|
9721
9721
|
* @since 4.0.0
|
|
9722
9722
|
*/
|
|
9723
9723
|
<A, E, R>(onEnd: Effect.Effect<A, E, R>): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -9732,7 +9732,7 @@ export const onEnd: {
|
|
|
9732
9732
|
* not run when the channel fails. If the effect fails, the returned channel
|
|
9733
9733
|
* fails with that error.
|
|
9734
9734
|
*
|
|
9735
|
-
* @category
|
|
9735
|
+
* @category hooks
|
|
9736
9736
|
* @since 4.0.0
|
|
9737
9737
|
*/
|
|
9738
9738
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, A, E, R>(
|
|
@@ -9772,7 +9772,7 @@ export const onEnd: {
|
|
|
9772
9772
|
* )
|
|
9773
9773
|
* ```
|
|
9774
9774
|
*
|
|
9775
|
-
* @category
|
|
9775
|
+
* @category resource management
|
|
9776
9776
|
* @since 2.0.0
|
|
9777
9777
|
*/
|
|
9778
9778
|
export const ensuring: {
|
|
@@ -9799,7 +9799,7 @@ export const ensuring: {
|
|
|
9799
9799
|
* )
|
|
9800
9800
|
* ```
|
|
9801
9801
|
*
|
|
9802
|
-
* @category
|
|
9802
|
+
* @category resource management
|
|
9803
9803
|
* @since 2.0.0
|
|
9804
9804
|
*/
|
|
9805
9805
|
<Env2>(finalizer: Effect.Effect<unknown, never, Env2>): <OutElem, OutDone, OutErr, InElem, InErr, InDone, Env>(
|
|
@@ -9828,7 +9828,7 @@ export const ensuring: {
|
|
|
9828
9828
|
* )
|
|
9829
9829
|
* ```
|
|
9830
9830
|
*
|
|
9831
|
-
* @category
|
|
9831
|
+
* @category resource management
|
|
9832
9832
|
* @since 2.0.0
|
|
9833
9833
|
*/
|
|
9834
9834
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, Env2>(
|
|
@@ -10283,7 +10283,7 @@ const withSpanImpl = <OutElem, OutErr, OutDone, InElem, InErr, InDone, R>(
|
|
|
10283
10283
|
/**
|
|
10284
10284
|
* The starting channel for Do notation, emitting an empty object.
|
|
10285
10285
|
*
|
|
10286
|
-
* @category
|
|
10286
|
+
* @category do notation
|
|
10287
10287
|
* @since 4.0.0
|
|
10288
10288
|
*/
|
|
10289
10289
|
export const Do: Channel<{}> = succeed({})
|
|
@@ -10337,7 +10337,7 @@ export {
|
|
|
10337
10337
|
/**
|
|
10338
10338
|
* Adds a computed field to each object emitted by a channel.
|
|
10339
10339
|
*
|
|
10340
|
-
* @category
|
|
10340
|
+
* @category do notation
|
|
10341
10341
|
* @since 4.0.0
|
|
10342
10342
|
*/
|
|
10343
10343
|
let_ as let
|
|
@@ -10353,7 +10353,7 @@ export {
|
|
|
10353
10353
|
* channel's output becomes the value of the new field. `options.concurrency`
|
|
10354
10354
|
* and `options.bufferSize` control how derived channels are flattened.
|
|
10355
10355
|
*
|
|
10356
|
-
* @category
|
|
10356
|
+
* @category do notation
|
|
10357
10357
|
* @since 4.0.0
|
|
10358
10358
|
*/
|
|
10359
10359
|
export const bind: {
|
|
@@ -10367,7 +10367,7 @@ export const bind: {
|
|
|
10367
10367
|
* channel's output becomes the value of the new field. `options.concurrency`
|
|
10368
10368
|
* and `options.bufferSize` control how derived channels are flattened.
|
|
10369
10369
|
*
|
|
10370
|
-
* @category
|
|
10370
|
+
* @category do notation
|
|
10371
10371
|
* @since 4.0.0
|
|
10372
10372
|
*/
|
|
10373
10373
|
<N extends string, OutElem extends object, B, OutErr2, OutDone2, InElem2, InErr2, InDone2, Env2>(
|
|
@@ -10398,7 +10398,7 @@ export const bind: {
|
|
|
10398
10398
|
* channel's output becomes the value of the new field. `options.concurrency`
|
|
10399
10399
|
* and `options.bufferSize` control how derived channels are flattened.
|
|
10400
10400
|
*
|
|
10401
|
-
* @category
|
|
10401
|
+
* @category do notation
|
|
10402
10402
|
* @since 4.0.0
|
|
10403
10403
|
*/
|
|
10404
10404
|
<
|
|
@@ -10485,7 +10485,7 @@ export const bind: {
|
|
|
10485
10485
|
* @see {@link bind} for adding a field produced by another channel
|
|
10486
10486
|
* @see {@link let_ let} for adding a computed field
|
|
10487
10487
|
*
|
|
10488
|
-
* @category
|
|
10488
|
+
* @category do notation
|
|
10489
10489
|
* @since 4.0.0
|
|
10490
10490
|
*/
|
|
10491
10491
|
export const bindTo: {
|
|
@@ -10501,7 +10501,7 @@ export const bindTo: {
|
|
|
10501
10501
|
* @see {@link bind} for adding a field produced by another channel
|
|
10502
10502
|
* @see {@link let_ let} for adding a computed field
|
|
10503
10503
|
*
|
|
10504
|
-
* @category
|
|
10504
|
+
* @category do notation
|
|
10505
10505
|
* @since 4.0.0
|
|
10506
10506
|
*/
|
|
10507
10507
|
<N extends string>(name: N): <OutElem, OutErr, OutDone, InElem, InErr, InDone, Env>(
|
|
@@ -10527,7 +10527,7 @@ export const bindTo: {
|
|
|
10527
10527
|
* @see {@link bind} for adding a field produced by another channel
|
|
10528
10528
|
* @see {@link let_ let} for adding a computed field
|
|
10529
10529
|
*
|
|
10530
|
-
* @category
|
|
10530
|
+
* @category do notation
|
|
10531
10531
|
* @since 4.0.0
|
|
10532
10532
|
*/
|
|
10533
10533
|
<OutElem, OutErr, OutDone, InElem, InErr, InDone, Env, N extends string>(
|