You can think of Result as eagerly evaluated and ResultAsync as lazily evaluated. They're two entirely different mechanisms and thus can't be merged into a single abstraction.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey Alexey,
Thanks for the kind words :)
Note that
neverthrowimplements a promisible interface as well.See the
ResultAsyncdocs hereOh, it looks cool! What is an advantage of having ResultAsync as a separate abstraction?
You can think of
Resultas eagerly evaluated andResultAsyncas lazily evaluated. They're two entirely different mechanisms and thus can't be merged into a single abstraction.