effect-utils is a simple library for using Effect. This library was created to handle the internal logic of pothos-plugin-effect and is intended for internal use. Care should be taken when using it for other purposes.
Execute the given Effect using Runtime.runPromiseExit
. It returns the value when result is Exit.Success<A>
. and it throws the value if result is failure.
And it resolve Option<A>
value into A | null
.
Runs the given stream using `Stream.runForEach' and returns the AsyncIterable that was created using the Repeater.js.
And it resolve Option<A>
value into A | null
.
Determine whether the value is a stream or not.
MIT