Aktueller Stand

This commit is contained in:
2026-01-23 01:33:35 +01:00
parent 082dc5e110
commit 2766dd12c5
10109 changed files with 1578841 additions and 77685 deletions

36
backend/node_modules/effect/dist/esm/TestSized.js generated vendored Normal file
View File

@@ -0,0 +1,36 @@
/**
* @since 2.0.0
*/
import * as Context from "./Context.js";
import * as core from "./internal/core.js";
/**
* @since 2.0.0
*/
export const TestSizedTypeId = /*#__PURE__*/Symbol.for("effect/TestSized");
/**
* @since 2.0.0
*/
export const TestSized = /*#__PURE__*/Context.GenericTag("effect/TestSized");
/** @internal */
class SizedImpl {
fiberRef;
[TestSizedTypeId] = TestSizedTypeId;
constructor(fiberRef) {
this.fiberRef = fiberRef;
}
get size() {
return core.fiberRefGet(this.fiberRef);
}
withSize(size) {
return effect => core.fiberRefLocally(this.fiberRef, size)(effect);
}
}
/**
* @since 2.0.0
*/
export const make = size => new SizedImpl(core.fiberRefUnsafeMake(size));
/**
* @since 2.0.0
*/
export const fromFiberRef = fiberRef => new SizedImpl(fiberRef);
//# sourceMappingURL=TestSized.js.map