Skip to content
Discussion options

You must be logged in to vote

I think the reason this started working again is maybe you were trying to use a reference instead of a lambda? retryEither(::someSuspendFunction) would not work, annoyingly. However, retryEither { someSuspendFunction() } absolutely works as long as you're already in a suspend context.

Replies: 2 comments 3 replies

Comment options

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

@nomisRev
Comment options

@milgner
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by kyay10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants