effect 4.0.0-beta.87 → 4.0.0-beta.89
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/Effect.d.ts +5 -2
- package/dist/Effect.d.ts.map +1 -1
- package/dist/Effect.js +4 -1
- package/dist/Effect.js.map +1 -1
- package/dist/Latch.d.ts +19 -0
- package/dist/Latch.d.ts.map +1 -1
- package/dist/Latch.js +11 -0
- package/dist/Latch.js.map +1 -1
- package/dist/Schema.d.ts +14 -1
- package/dist/Schema.d.ts.map +1 -1
- package/dist/Schema.js +14 -1
- package/dist/Schema.js.map +1 -1
- package/dist/SchemaAST.d.ts +17 -5
- package/dist/SchemaAST.d.ts.map +1 -1
- package/dist/SchemaAST.js +22 -7
- package/dist/SchemaAST.js.map +1 -1
- package/dist/internal/effect.js +17 -15
- package/dist/internal/effect.js.map +1 -1
- package/dist/unstable/http/HttpClient.d.ts +4 -0
- package/dist/unstable/http/HttpClient.d.ts.map +1 -1
- package/dist/unstable/http/HttpClient.js +56 -20
- package/dist/unstable/http/HttpClient.js.map +1 -1
- package/dist/unstable/observability/OtlpTracer.d.ts.map +1 -1
- package/dist/unstable/observability/OtlpTracer.js +2 -1
- package/dist/unstable/observability/OtlpTracer.js.map +1 -1
- package/dist/unstable/persistence/RateLimiter.d.ts +106 -3
- package/dist/unstable/persistence/RateLimiter.d.ts.map +1 -1
- package/dist/unstable/persistence/RateLimiter.js +397 -5
- package/dist/unstable/persistence/RateLimiter.js.map +1 -1
- package/dist/unstable/rpc/RpcServer.js +4 -4
- package/dist/unstable/rpc/RpcServer.js.map +1 -1
- package/package.json +1 -1
- package/src/Effect.ts +10 -4
- package/src/Latch.ts +21 -0
- package/src/Schema.ts +14 -1
- package/src/SchemaAST.ts +23 -7
- package/src/internal/effect.ts +30 -18
- package/src/unstable/http/HttpClient.ts +115 -24
- package/src/unstable/observability/OtlpTracer.ts +2 -1
- package/src/unstable/persistence/RateLimiter.ts +599 -5
- package/src/unstable/rpc/RpcServer.ts +4 -4
package/dist/Schema.js
CHANGED
|
@@ -1791,8 +1791,21 @@ export const Symbol = /*#__PURE__*/make(SchemaAST.symbol);
|
|
|
1791
1791
|
*/
|
|
1792
1792
|
export const BigInt = /*#__PURE__*/make(SchemaAST.bigInt);
|
|
1793
1793
|
/**
|
|
1794
|
-
* Schema for
|
|
1794
|
+
* Schema for a TypeScript `void` return value.
|
|
1795
1795
|
*
|
|
1796
|
+
* **When to use**
|
|
1797
|
+
*
|
|
1798
|
+
* Use when you need to model the return value of a function, RPC, or endpoint
|
|
1799
|
+
* whose result is intentionally ignored.
|
|
1800
|
+
*
|
|
1801
|
+
* **Details**
|
|
1802
|
+
*
|
|
1803
|
+
* Runtime parsing accepts any present value and discards it, producing
|
|
1804
|
+
* `undefined`. The public decoded and encoded TypeScript representation remains
|
|
1805
|
+
* `void`, so typed construction, decoding, and encoding APIs are still modeled
|
|
1806
|
+
* as `void`.
|
|
1807
|
+
*
|
|
1808
|
+
* @see {@link Undefined} for a schema that matches only the exact `undefined` value.
|
|
1796
1809
|
* @category schemas
|
|
1797
1810
|
* @since 3.10.0
|
|
1798
1811
|
*/
|