neverthrow icon indicating copy to clipboard operation
neverthrow copied to clipboard

returning ok() without any arguments?

Open petermakeswebsites opened this issue 1 year ago • 2 comments

There's probably some good reason this hasn't been implemented, but sometimes I just want to know if something fired properly, no need to return a value. It seems ok() has to take a value. Is it possible to make an implementation where its ok for ok() to take nothing and just be ok as it is?

petermakeswebsites avatar Oct 16 '24 18:10 petermakeswebsites

This is solved in my PR #584

Please help by providing a review :)

macksal avatar Oct 18 '24 07:10 macksal

This is now closed in #584

macksal avatar Apr 08 '25 07:04 macksal