Skip to content

is there any idea to transform (Int)->Uni<Data> to Uni<(Int)->Data> ? #1045

Answered by jponge
yazinnnn asked this question in Q&A
Discussion options

You must be logged in to vote

If you have a Uni-returning function, then it means that Uni will eventually provide a result. I'm afraid the only way is to somehow wait/block if you want to convert to a value-returning function.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yazinnnn
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