veffect
Version:
powerful TypeScript validation library built on the robust foundation of Effect combining exceptional type safety, high performance, and developer experience. Taking inspiration from Effect's functional principles, VEffect delivers a balanced approach tha
24 lines • 660 B
JavaScript
import * as internal from "./internal/scopedCache.js";
/**
* @since 2.0.0
* @category symbols
*/
export const ScopedCacheTypeId = internal.ScopedCacheTypeId;
/**
* Constructs a new cache with the specified capacity, time to live, and
* lookup function.
*
* @since 2.0.0
* @category constructors
*/
export const make = internal.make;
/**
* Constructs a new cache with the specified capacity, time to live, and
* lookup function, where the time to live can depend on the `Exit` value
* returned by the lookup function.
*
* @since 2.0.0
* @category constructors
*/
export const makeWith = internal.makeWith;
//# sourceMappingURL=ScopedCache.js.map