UNPKG

@effect-ts/system

Version:

Effect-TS is a zero dependency set of libraries to write highly productive, purely functional TypeScript at scale.

16 lines (14 loc) 327 B
import * as L from "../Layer/core.mjs"; /** * Constructs a layer from this effect. */ export function toLayerRaw(effect) { return L.fromRawEffect(effect); } /** * Constructs a layer from this effect. */ export function toLayer(tag) { return effect => L.fromEffect_(effect, tag); } //# sourceMappingURL=toLayer.mjs.map