Skip to content

Using retryEither with suspend functions? #3406

Answered by nomisRev
milgner asked this question in Q&A
Discussion options

You must be logged in to vote

Hey @milgner,

I think this is some kind-of mistake in the API. action should support through inline and suspend keyword on the main function, but apparently not the case so we need to explicitly specify suspend.

I think this can be considered a bug, and if you're interested I'd be great to have a ticket, or a PR for this!

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@milgner
Comment options

@nomisRev
Comment options

@milgner
Comment options

Answer selected by milgner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants