@reventlessdev/rescript-effect
Alpha. APIs can change without notice between releases. Pin exact versions and expect breaking changes.
ReScript bindings for Effect, used across the Reventless framework. It binds the effect library, pinned to version 3.21.2 (bundled dependency).
Install
pnpm add @reventlessdev/rescript-effect
Then register it as a ReScript dependency in rescript.json:
{
"dependencies": ["@reventlessdev/rescript-effect"]
}
Requires ReScript ^12.3.0 (peer dependency).
Usage
The bindings are exposed as ReScript modules mirroring the Effect surface, including Effect, Stream, Layer, Context, Fiber, Ref, Queue, PubSub, Schedule, Stm, Duration, Cause, Exit, Deferred, and testing helpers such as TestClock and TestContext.
Links
- Documentation — docs.reventless.dev
- Repository — ReventlessDev/reventless-core
- Changelog
- Upstream — Effect (
effecton npm)