effect 4.0.0-beta.72 → 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/EntityResource.d.ts +1 -0
- package/dist/unstable/cluster/EntityResource.d.ts.map +1 -1
- package/dist/unstable/cluster/EntityResource.js +5 -3
- package/dist/unstable/cluster/EntityResource.js.map +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/HttpApiBuilder.js +2 -3
- package/dist/unstable/httpapi/HttpApiBuilder.js.map +1 -1
- package/dist/unstable/httpapi/HttpApiError.d.ts +13 -13
- package/dist/unstable/httpapi/HttpApiError.js +13 -13
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts +27 -5
- package/dist/unstable/httpapi/HttpApiSecurity.d.ts.map +1 -1
- package/dist/unstable/httpapi/HttpApiSecurity.js +26 -3
- package/dist/unstable/httpapi/HttpApiSecurity.js.map +1 -1
- package/dist/unstable/httpapi/OpenApi.js +2 -2
- package/dist/unstable/httpapi/OpenApi.js.map +1 -1
- 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/EntityResource.ts +8 -4
- 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/HttpApiBuilder.ts +2 -3
- package/src/unstable/httpapi/HttpApiError.ts +13 -13
- package/src/unstable/httpapi/HttpApiSecurity.ts +36 -8
- package/src/unstable/httpapi/OpenApi.ts +2 -2
- 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/dist/Ref.js
CHANGED
|
@@ -216,7 +216,7 @@ export const set = /*#__PURE__*/dual(2, (self, value) => Effect.sync(() => Mutab
|
|
|
216
216
|
* @see {@link set} for setting without returning the previous value
|
|
217
217
|
* @see {@link getAndUpdate} for deriving the new value from the previous value
|
|
218
218
|
*
|
|
219
|
-
* @category
|
|
219
|
+
* @category mutations
|
|
220
220
|
* @since 2.0.0
|
|
221
221
|
*/
|
|
222
222
|
export const getAndSet = /*#__PURE__*/dual(2, (self, value) => Effect.sync(() => {
|
|
@@ -251,7 +251,7 @@ export const getAndSet = /*#__PURE__*/dual(2, (self, value) => Effect.sync(() =>
|
|
|
251
251
|
* @see {@link update} for updating without returning the previous value
|
|
252
252
|
* @see {@link updateAndGet} for returning the new value instead
|
|
253
253
|
*
|
|
254
|
-
* @category
|
|
254
|
+
* @category mutations
|
|
255
255
|
* @since 2.0.0
|
|
256
256
|
*/
|
|
257
257
|
export const getAndUpdate = /*#__PURE__*/dual(2, (self, f) => Effect.sync(() => {
|
|
@@ -305,7 +305,7 @@ export const getAndUpdate = /*#__PURE__*/dual(2, (self, f) => Effect.sync(() =>
|
|
|
305
305
|
* @see {@link getAndUpdate} for always applying an update
|
|
306
306
|
* @see {@link updateSome} for conditional updates without returning the previous value
|
|
307
307
|
*
|
|
308
|
-
* @category
|
|
308
|
+
* @category mutations
|
|
309
309
|
* @since 2.0.0
|
|
310
310
|
*/
|
|
311
311
|
export const getAndUpdateSome = /*#__PURE__*/dual(2, (self, pf) => Effect.sync(() => {
|
|
@@ -350,7 +350,7 @@ export const getAndUpdateSome = /*#__PURE__*/dual(2, (self, pf) => Effect.sync((
|
|
|
350
350
|
* })
|
|
351
351
|
* ```
|
|
352
352
|
*
|
|
353
|
-
* @category
|
|
353
|
+
* @category mutations
|
|
354
354
|
* @since 2.0.0
|
|
355
355
|
*/
|
|
356
356
|
export const setAndGet = /*#__PURE__*/dual(2, (self, value) => Effect.sync(() => self.ref.current = value));
|
|
@@ -542,7 +542,7 @@ export const update = /*#__PURE__*/dual(2, (self, f) => Effect.sync(() => {
|
|
|
542
542
|
* @see {@link update} for updating without returning the new value
|
|
543
543
|
* @see {@link getAndUpdate} for returning the previous value instead
|
|
544
544
|
*
|
|
545
|
-
* @category
|
|
545
|
+
* @category mutations
|
|
546
546
|
* @since 2.0.0
|
|
547
547
|
*/
|
|
548
548
|
export const updateAndGet = /*#__PURE__*/dual(2, (self, f) => Effect.sync(() => self.ref.current = f(self.ref.current)));
|
|
@@ -639,7 +639,7 @@ export const updateSome = /*#__PURE__*/dual(2, (self, f) => Effect.sync(() => {
|
|
|
639
639
|
* @see {@link updateSome} for conditional updates without returning a value
|
|
640
640
|
* @see {@link updateAndGet} for always updating and returning the new value
|
|
641
641
|
*
|
|
642
|
-
* @category
|
|
642
|
+
* @category mutations
|
|
643
643
|
* @since 2.0.0
|
|
644
644
|
*/
|
|
645
645
|
export const updateSomeAndGet = /*#__PURE__*/dual(2, (self, pf) => Effect.sync(() => {
|
package/dist/RegExp.d.ts
CHANGED
|
@@ -60,7 +60,7 @@ export declare const isRegExp: (input: unknown) => input is RegExp;
|
|
|
60
60
|
* assert.deepStrictEqual(RegExp.escape("a*b"), "a\\*b")
|
|
61
61
|
* ```
|
|
62
62
|
*
|
|
63
|
-
* @category
|
|
63
|
+
* @category RegExp
|
|
64
64
|
* @since 2.0.0
|
|
65
65
|
*/
|
|
66
66
|
export declare const escape: (string: string) => string;
|
package/dist/RegExp.js
CHANGED
|
@@ -99,7 +99,7 @@ export const isRegExp = predicate.isRegExp;
|
|
|
99
99
|
* assert.deepStrictEqual(RegExp.escape("a*b"), "a\\*b")
|
|
100
100
|
* ```
|
|
101
101
|
*
|
|
102
|
-
* @category
|
|
102
|
+
* @category RegExp
|
|
103
103
|
* @since 2.0.0
|
|
104
104
|
*/
|
|
105
105
|
export const escape = string => string.replace(/[/\\^$*+?.()|[\]{}]/g, "\\$&");
|
package/dist/Request.d.ts
CHANGED
|
@@ -159,7 +159,7 @@ export interface Constructor<R extends Request<any, any, any>, T extends keyof R
|
|
|
159
159
|
* type UserError = Request.Error<GetUser> // Error
|
|
160
160
|
* ```
|
|
161
161
|
*
|
|
162
|
-
* @category
|
|
162
|
+
* @category utility types
|
|
163
163
|
* @since 2.0.0
|
|
164
164
|
*/
|
|
165
165
|
export type Error<T extends Request<any, any, any>> = [T] extends [Request<infer _A, infer _E, infer _R>] ? _E : never;
|
|
@@ -180,14 +180,14 @@ export type Error<T extends Request<any, any, any>> = [T] extends [Request<infer
|
|
|
180
180
|
* type UserSuccess = Request.Success<GetUser> // string
|
|
181
181
|
* ```
|
|
182
182
|
*
|
|
183
|
-
* @category
|
|
183
|
+
* @category utility types
|
|
184
184
|
* @since 2.0.0
|
|
185
185
|
*/
|
|
186
186
|
export type Success<T extends Request<any, any, any>> = [T] extends [Request<infer _A, infer _E, infer _R>] ? _A : never;
|
|
187
187
|
/**
|
|
188
188
|
* A utility type to extract the requirements type from a `Request`.
|
|
189
189
|
*
|
|
190
|
-
* @category
|
|
190
|
+
* @category utility types
|
|
191
191
|
* @since 4.0.0
|
|
192
192
|
*/
|
|
193
193
|
export type Services<T extends Request<any, any, any>> = [T] extends [Request<infer _A, infer _E, infer _R>] ? _R : never;
|
|
@@ -208,7 +208,7 @@ export type Services<T extends Request<any, any, any>> = [T] extends [Request<in
|
|
|
208
208
|
* type UserResult = Request.Result<GetUser> // Exit.Exit<string, Error>
|
|
209
209
|
* ```
|
|
210
210
|
*
|
|
211
|
-
* @category
|
|
211
|
+
* @category utility types
|
|
212
212
|
* @since 2.0.0
|
|
213
213
|
*/
|
|
214
214
|
export type Result<T extends Request<any, any, any>> = T extends Request<infer A, infer E, infer _R> ? Exit.Exit<A, E> : never;
|
|
@@ -1345,7 +1345,7 @@ export declare const withSpan: {
|
|
|
1345
1345
|
* @see {@link persisted} for storing persistable request results outside process memory
|
|
1346
1346
|
* @see {@link Cache.Cache} for operations available on the returned cache
|
|
1347
1347
|
*
|
|
1348
|
-
* @category
|
|
1348
|
+
* @category caching
|
|
1349
1349
|
* @since 4.0.0
|
|
1350
1350
|
*/
|
|
1351
1351
|
export declare const asCache: {
|
|
@@ -1373,7 +1373,7 @@ export declare const asCache: {
|
|
|
1373
1373
|
* @see {@link persisted} for storing persistable request results outside process memory
|
|
1374
1374
|
* @see {@link Cache.Cache} for operations available on the returned cache
|
|
1375
1375
|
*
|
|
1376
|
-
* @category
|
|
1376
|
+
* @category caching
|
|
1377
1377
|
* @since 4.0.0
|
|
1378
1378
|
*/
|
|
1379
1379
|
<A extends Request.Any, ServiceMode extends "lookup" | "construction" = never>(options: {
|
|
@@ -1405,7 +1405,7 @@ export declare const asCache: {
|
|
|
1405
1405
|
* @see {@link persisted} for storing persistable request results outside process memory
|
|
1406
1406
|
* @see {@link Cache.Cache} for operations available on the returned cache
|
|
1407
1407
|
*
|
|
1408
|
-
* @category
|
|
1408
|
+
* @category caching
|
|
1409
1409
|
* @since 4.0.0
|
|
1410
1410
|
*/
|
|
1411
1411
|
<A extends Request.Any, ServiceMode extends "lookup" | "construction" = never>(self: RequestResolver<A>, options: {
|
|
@@ -1437,7 +1437,7 @@ export declare const asCache: {
|
|
|
1437
1437
|
* @see {@link asCache} for exposing the resolver as a `Cache` with time-to-live and service lookup controls
|
|
1438
1438
|
* @see {@link persisted} for backing persistable requests with the configured persistence store
|
|
1439
1439
|
*
|
|
1440
|
-
* @category
|
|
1440
|
+
* @category caching
|
|
1441
1441
|
* @since 4.0.0
|
|
1442
1442
|
*/
|
|
1443
1443
|
export declare const withCache: {
|
|
@@ -1464,7 +1464,7 @@ export declare const withCache: {
|
|
|
1464
1464
|
* @see {@link asCache} for exposing the resolver as a `Cache` with time-to-live and service lookup controls
|
|
1465
1465
|
* @see {@link persisted} for backing persistable requests with the configured persistence store
|
|
1466
1466
|
*
|
|
1467
|
-
* @category
|
|
1467
|
+
* @category caching
|
|
1468
1468
|
* @since 4.0.0
|
|
1469
1469
|
*/
|
|
1470
1470
|
<A extends Request.Any>(options: {
|
|
@@ -1494,7 +1494,7 @@ export declare const withCache: {
|
|
|
1494
1494
|
* @see {@link asCache} for exposing the resolver as a `Cache` with time-to-live and service lookup controls
|
|
1495
1495
|
* @see {@link persisted} for backing persistable requests with the configured persistence store
|
|
1496
1496
|
*
|
|
1497
|
-
* @category
|
|
1497
|
+
* @category caching
|
|
1498
1498
|
* @since 4.0.0
|
|
1499
1499
|
*/
|
|
1500
1500
|
<A extends Request.Any>(self: RequestResolver<A>, options: {
|
package/dist/RequestResolver.js
CHANGED
|
@@ -740,7 +740,7 @@ export const withSpan = /*#__PURE__*/dual(args => isRequestResolver(args[0]), (s
|
|
|
740
740
|
* @see {@link persisted} for storing persistable request results outside process memory
|
|
741
741
|
* @see {@link Cache.Cache} for operations available on the returned cache
|
|
742
742
|
*
|
|
743
|
-
* @category
|
|
743
|
+
* @category caching
|
|
744
744
|
* @since 4.0.0
|
|
745
745
|
*/
|
|
746
746
|
export const asCache = /*#__PURE__*/dual(2, (self, options) => Cache.makeWith(req => internal.request(req, self), {
|
|
@@ -771,7 +771,7 @@ export const asCache = /*#__PURE__*/dual(2, (self, options) => Cache.makeWith(re
|
|
|
771
771
|
* @see {@link asCache} for exposing the resolver as a `Cache` with time-to-live and service lookup controls
|
|
772
772
|
* @see {@link persisted} for backing persistable requests with the configured persistence store
|
|
773
773
|
*
|
|
774
|
-
* @category
|
|
774
|
+
* @category caching
|
|
775
775
|
* @since 4.0.0
|
|
776
776
|
*/
|
|
777
777
|
export const withCache = /*#__PURE__*/dual(2, (self, options) => Effect.sync(() => {
|
package/dist/Resource.d.ts
CHANGED
|
@@ -114,7 +114,7 @@ export declare const get: <A, E>(self: Resource<A, E>) => Effect.Effect<A, E>;
|
|
|
114
114
|
* @see {@link manual} for resources refreshed only by caller action
|
|
115
115
|
* @see {@link auto} for schedule-driven automatic refreshes
|
|
116
116
|
*
|
|
117
|
-
* @category
|
|
117
|
+
* @category resource management
|
|
118
118
|
* @since 2.0.0
|
|
119
119
|
*/
|
|
120
120
|
export declare const refresh: <A, E>(self: Resource<A, E>) => Effect.Effect<void, E>;
|
package/dist/Resource.js
CHANGED
|
@@ -146,7 +146,7 @@ export const get = self => Effect.flatMap(ScopedRef.get(self.scopedRef), identit
|
|
|
146
146
|
* @see {@link manual} for resources refreshed only by caller action
|
|
147
147
|
* @see {@link auto} for schedule-driven automatic refreshes
|
|
148
148
|
*
|
|
149
|
-
* @category
|
|
149
|
+
* @category resource management
|
|
150
150
|
* @since 2.0.0
|
|
151
151
|
*/
|
|
152
152
|
export const refresh = self => ScopedRef.set(self.scopedRef, Effect.map(self.acquire, Exit.succeed));
|
package/dist/Result.d.ts
CHANGED
|
@@ -252,7 +252,7 @@ export interface ResultUnifyIgnore {
|
|
|
252
252
|
* (e.g., `map`, `flatMap` abstractions). You typically do not need to
|
|
253
253
|
* reference this directly.
|
|
254
254
|
*
|
|
255
|
-
* @category
|
|
255
|
+
* @category type lambdas
|
|
256
256
|
* @since 4.0.0
|
|
257
257
|
*/
|
|
258
258
|
export interface ResultTypeLambda extends TypeLambda {
|
|
@@ -695,7 +695,7 @@ try_ as try };
|
|
|
695
695
|
*
|
|
696
696
|
* @see {@link isSuccess} / {@link isFailure} to narrow to a specific variant
|
|
697
697
|
*
|
|
698
|
-
* @category
|
|
698
|
+
* @category guards
|
|
699
699
|
* @since 4.0.0
|
|
700
700
|
*/
|
|
701
701
|
export declare const isResult: (input: unknown) => input is Result<unknown, unknown>;
|
|
@@ -727,7 +727,7 @@ export declare const isResult: (input: unknown) => input is Result<unknown, unkn
|
|
|
727
727
|
* @see {@link isSuccess} for the opposite check
|
|
728
728
|
* @see {@link isResult} to check if a value is any Result
|
|
729
729
|
*
|
|
730
|
-
* @category
|
|
730
|
+
* @category guards
|
|
731
731
|
* @since 4.0.0
|
|
732
732
|
*/
|
|
733
733
|
export declare const isFailure: <A, E>(self: Result<A, E>) => self is Failure<A, E>;
|
|
@@ -759,7 +759,7 @@ export declare const isFailure: <A, E>(self: Result<A, E>) => self is Failure<A,
|
|
|
759
759
|
* @see {@link isFailure} for the opposite check
|
|
760
760
|
* @see {@link isResult} to check if a value is any Result
|
|
761
761
|
*
|
|
762
|
-
* @category
|
|
762
|
+
* @category guards
|
|
763
763
|
* @since 4.0.0
|
|
764
764
|
*/
|
|
765
765
|
export declare const isSuccess: <A, E>(self: Result<A, E>) => self is Success<A, E>;
|
|
@@ -851,7 +851,7 @@ export declare const getFailure: <A, E>(self: Result<A, E>) => Option<E>;
|
|
|
851
851
|
* // Output: false
|
|
852
852
|
* ```
|
|
853
853
|
*
|
|
854
|
-
* @category
|
|
854
|
+
* @category instances
|
|
855
855
|
* @since 4.0.0
|
|
856
856
|
*/
|
|
857
857
|
export declare const makeEquivalence: <A, E>(success: Equivalence.Equivalence<A>, failure: Equivalence.Equivalence<E>) => Equivalence.Equivalence<Result<A, E>>;
|
|
@@ -1206,7 +1206,7 @@ export declare const map: {
|
|
|
1206
1206
|
* @see {@link merge} to extract `A | E` without mapping
|
|
1207
1207
|
* @see {@link getOrElse} to unwrap only the success with a fallback
|
|
1208
1208
|
*
|
|
1209
|
-
* @category
|
|
1209
|
+
* @category pattern matching
|
|
1210
1210
|
* @since 2.0.0
|
|
1211
1211
|
*/
|
|
1212
1212
|
export declare const match: {
|
|
@@ -1240,7 +1240,7 @@ export declare const match: {
|
|
|
1240
1240
|
* @see {@link merge} to extract `A | E` without mapping
|
|
1241
1241
|
* @see {@link getOrElse} to unwrap only the success with a fallback
|
|
1242
1242
|
*
|
|
1243
|
-
* @category
|
|
1243
|
+
* @category pattern matching
|
|
1244
1244
|
* @since 2.0.0
|
|
1245
1245
|
*/
|
|
1246
1246
|
<E, B, A, C = B>(options: {
|
|
@@ -1277,7 +1277,7 @@ export declare const match: {
|
|
|
1277
1277
|
* @see {@link merge} to extract `A | E` without mapping
|
|
1278
1278
|
* @see {@link getOrElse} to unwrap only the success with a fallback
|
|
1279
1279
|
*
|
|
1280
|
-
* @category
|
|
1280
|
+
* @category pattern matching
|
|
1281
1281
|
* @since 2.0.0
|
|
1282
1282
|
*/
|
|
1283
1283
|
<A, E, B, C = B>(self: Result<A, E>, options: {
|
|
@@ -2727,7 +2727,7 @@ export declare const all: <const I extends Iterable<Result<any, any>> | Record<s
|
|
|
2727
2727
|
*
|
|
2728
2728
|
* @see {@link mapError} to transform the error without swapping
|
|
2729
2729
|
*
|
|
2730
|
-
* @category
|
|
2730
|
+
* @category transforming
|
|
2731
2731
|
* @since 2.0.0
|
|
2732
2732
|
*/
|
|
2733
2733
|
export declare const flip: <A, E>(self: Result<A, E>) => Result<E, A>;
|
|
@@ -2764,7 +2764,7 @@ export declare const flip: <A, E>(self: Result<A, E>) => Result<E, A>;
|
|
|
2764
2764
|
* @see {@link flatMap} for point-free sequential composition
|
|
2765
2765
|
* @see {@link all} to collect multiple independent Results
|
|
2766
2766
|
*
|
|
2767
|
-
* @category
|
|
2767
|
+
* @category generators
|
|
2768
2768
|
* @since 2.0.0
|
|
2769
2769
|
*/
|
|
2770
2770
|
export declare const gen: Gen.Gen<ResultTypeLambda>;
|
|
@@ -2803,7 +2803,7 @@ export declare const gen: Gen.Gen<ResultTypeLambda>;
|
|
|
2803
2803
|
* @see {@link gen} for an alternative generator-based syntax
|
|
2804
2804
|
* @see {@link bindTo} for starting a do-notation chain from an existing Result
|
|
2805
2805
|
*
|
|
2806
|
-
* @category
|
|
2806
|
+
* @category do notation
|
|
2807
2807
|
* @since 2.0.0
|
|
2808
2808
|
*/
|
|
2809
2809
|
export declare const Do: Result<{}>;
|
|
@@ -2840,7 +2840,7 @@ export declare const Do: Result<{}>;
|
|
|
2840
2840
|
* @see {@link let_ let} for pure computed fields
|
|
2841
2841
|
* @see {@link bindTo} to wrap an initial Result into a named field
|
|
2842
2842
|
*
|
|
2843
|
-
* @category
|
|
2843
|
+
* @category do notation
|
|
2844
2844
|
* @since 2.0.0
|
|
2845
2845
|
*/
|
|
2846
2846
|
export declare const bind: {
|
|
@@ -2877,7 +2877,7 @@ export declare const bind: {
|
|
|
2877
2877
|
* @see {@link let_ let} for pure computed fields
|
|
2878
2878
|
* @see {@link bindTo} to wrap an initial Result into a named field
|
|
2879
2879
|
*
|
|
2880
|
-
* @category
|
|
2880
|
+
* @category do notation
|
|
2881
2881
|
* @since 2.0.0
|
|
2882
2882
|
*/
|
|
2883
2883
|
<N extends string, A extends object, B, L2>(name: Exclude<N, keyof A>, f: (a: NoInfer<A>) => Result<B, L2>): <L1>(self: Result<A, L1>) => Result<{
|
|
@@ -2916,7 +2916,7 @@ export declare const bind: {
|
|
|
2916
2916
|
* @see {@link let_ let} for pure computed fields
|
|
2917
2917
|
* @see {@link bindTo} to wrap an initial Result into a named field
|
|
2918
2918
|
*
|
|
2919
|
-
* @category
|
|
2919
|
+
* @category do notation
|
|
2920
2920
|
* @since 2.0.0
|
|
2921
2921
|
*/
|
|
2922
2922
|
<A extends object, L1, N extends string, B, L2>(self: Result<A, L1>, name: Exclude<N, keyof A>, f: (a: NoInfer<A>) => Result<B, L2>): Result<{
|
|
@@ -2953,7 +2953,7 @@ export declare const bind: {
|
|
|
2953
2953
|
* @see {@link Do} to start from an empty object
|
|
2954
2954
|
* @see {@link bind} to add more fields
|
|
2955
2955
|
*
|
|
2956
|
-
* @category
|
|
2956
|
+
* @category do notation
|
|
2957
2957
|
* @since 2.0.0
|
|
2958
2958
|
*/
|
|
2959
2959
|
export declare const bindTo: {
|
|
@@ -2987,7 +2987,7 @@ export declare const bindTo: {
|
|
|
2987
2987
|
* @see {@link Do} to start from an empty object
|
|
2988
2988
|
* @see {@link bind} to add more fields
|
|
2989
2989
|
*
|
|
2990
|
-
* @category
|
|
2990
|
+
* @category do notation
|
|
2991
2991
|
* @since 2.0.0
|
|
2992
2992
|
*/
|
|
2993
2993
|
<N extends string>(name: N): <R, L>(self: Result<R, L>) => Result<Record<N, R>, L>;
|
|
@@ -3021,7 +3021,7 @@ export declare const bindTo: {
|
|
|
3021
3021
|
* @see {@link Do} to start from an empty object
|
|
3022
3022
|
* @see {@link bind} to add more fields
|
|
3023
3023
|
*
|
|
3024
|
-
* @category
|
|
3024
|
+
* @category do notation
|
|
3025
3025
|
* @since 2.0.0
|
|
3026
3026
|
*/
|
|
3027
3027
|
<R, L, N extends string>(self: Result<R, L>, name: N): Result<Record<N, R>, L>;
|
|
@@ -3066,7 +3066,7 @@ export {
|
|
|
3066
3066
|
* @see {@link Do} to start the do-notation chain
|
|
3067
3067
|
* @see {@link bind} for Result-producing fields
|
|
3068
3068
|
*
|
|
3069
|
-
* @category
|
|
3069
|
+
* @category do notation
|
|
3070
3070
|
* @since 2.0.0
|
|
3071
3071
|
*/
|
|
3072
3072
|
let_ as let };
|
package/dist/Result.js
CHANGED
|
@@ -339,7 +339,7 @@ try_ as try };
|
|
|
339
339
|
*
|
|
340
340
|
* @see {@link isSuccess} / {@link isFailure} to narrow to a specific variant
|
|
341
341
|
*
|
|
342
|
-
* @category
|
|
342
|
+
* @category guards
|
|
343
343
|
* @since 4.0.0
|
|
344
344
|
*/
|
|
345
345
|
export const isResult = result.isResult;
|
|
@@ -371,7 +371,7 @@ export const isResult = result.isResult;
|
|
|
371
371
|
* @see {@link isSuccess} for the opposite check
|
|
372
372
|
* @see {@link isResult} to check if a value is any Result
|
|
373
373
|
*
|
|
374
|
-
* @category
|
|
374
|
+
* @category guards
|
|
375
375
|
* @since 4.0.0
|
|
376
376
|
*/
|
|
377
377
|
export const isFailure = result.isFailure;
|
|
@@ -403,7 +403,7 @@ export const isFailure = result.isFailure;
|
|
|
403
403
|
* @see {@link isFailure} for the opposite check
|
|
404
404
|
* @see {@link isResult} to check if a value is any Result
|
|
405
405
|
*
|
|
406
|
-
* @category
|
|
406
|
+
* @category guards
|
|
407
407
|
* @since 4.0.0
|
|
408
408
|
*/
|
|
409
409
|
export const isSuccess = result.isSuccess;
|
|
@@ -495,7 +495,7 @@ export const getFailure = result.getFailure;
|
|
|
495
495
|
* // Output: false
|
|
496
496
|
* ```
|
|
497
497
|
*
|
|
498
|
-
* @category
|
|
498
|
+
* @category instances
|
|
499
499
|
* @since 4.0.0
|
|
500
500
|
*/
|
|
501
501
|
export const makeEquivalence = (success, failure) => Equivalence.make((x, y) => isFailure(x) ? isFailure(y) && failure(x.failure, y.failure) : isSuccess(y) && success(x.success, y.success));
|
|
@@ -636,7 +636,7 @@ export const map = /*#__PURE__*/dual(2, (self, f) => isSuccess(self) ? succeed(f
|
|
|
636
636
|
* @see {@link merge} to extract `A | E` without mapping
|
|
637
637
|
* @see {@link getOrElse} to unwrap only the success with a fallback
|
|
638
638
|
*
|
|
639
|
-
* @category
|
|
639
|
+
* @category pattern matching
|
|
640
640
|
* @since 2.0.0
|
|
641
641
|
*/
|
|
642
642
|
export const match = /*#__PURE__*/dual(2, (self, {
|
|
@@ -1132,7 +1132,7 @@ export const all = input => {
|
|
|
1132
1132
|
*
|
|
1133
1133
|
* @see {@link mapError} to transform the error without swapping
|
|
1134
1134
|
*
|
|
1135
|
-
* @category
|
|
1135
|
+
* @category transforming
|
|
1136
1136
|
* @since 2.0.0
|
|
1137
1137
|
*/
|
|
1138
1138
|
export const flip = self => isFailure(self) ? succeed(self.failure) : fail(self.success);
|
|
@@ -1169,7 +1169,7 @@ export const flip = self => isFailure(self) ? succeed(self.failure) : fail(self.
|
|
|
1169
1169
|
* @see {@link flatMap} for point-free sequential composition
|
|
1170
1170
|
* @see {@link all} to collect multiple independent Results
|
|
1171
1171
|
*
|
|
1172
|
-
* @category
|
|
1172
|
+
* @category generators
|
|
1173
1173
|
* @since 2.0.0
|
|
1174
1174
|
*/
|
|
1175
1175
|
export const gen = (...args) => {
|
|
@@ -1223,7 +1223,7 @@ export const gen = (...args) => {
|
|
|
1223
1223
|
* @see {@link gen} for an alternative generator-based syntax
|
|
1224
1224
|
* @see {@link bindTo} for starting a do-notation chain from an existing Result
|
|
1225
1225
|
*
|
|
1226
|
-
* @category
|
|
1226
|
+
* @category do notation
|
|
1227
1227
|
* @since 2.0.0
|
|
1228
1228
|
*/
|
|
1229
1229
|
export const Do = /*#__PURE__*/succeed({});
|
|
@@ -1260,7 +1260,7 @@ export const Do = /*#__PURE__*/succeed({});
|
|
|
1260
1260
|
* @see {@link let_ let} for pure computed fields
|
|
1261
1261
|
* @see {@link bindTo} to wrap an initial Result into a named field
|
|
1262
1262
|
*
|
|
1263
|
-
* @category
|
|
1263
|
+
* @category do notation
|
|
1264
1264
|
* @since 2.0.0
|
|
1265
1265
|
*/
|
|
1266
1266
|
export const bind = /*#__PURE__*/doNotation.bind(map, flatMap);
|
|
@@ -1294,7 +1294,7 @@ export const bind = /*#__PURE__*/doNotation.bind(map, flatMap);
|
|
|
1294
1294
|
* @see {@link Do} to start from an empty object
|
|
1295
1295
|
* @see {@link bind} to add more fields
|
|
1296
1296
|
*
|
|
1297
|
-
* @category
|
|
1297
|
+
* @category do notation
|
|
1298
1298
|
* @since 2.0.0
|
|
1299
1299
|
*/
|
|
1300
1300
|
export const bindTo = /*#__PURE__*/doNotation.bindTo(map);
|
|
@@ -1331,7 +1331,7 @@ export {
|
|
|
1331
1331
|
* @see {@link Do} to start the do-notation chain
|
|
1332
1332
|
* @see {@link bind} for Result-producing fields
|
|
1333
1333
|
*
|
|
1334
|
-
* @category
|
|
1334
|
+
* @category do notation
|
|
1335
1335
|
* @since 2.0.0
|
|
1336
1336
|
*/
|
|
1337
1337
|
let_ as let };
|