Skip to content

Commit

Permalink
add comments on kotlin coroutines
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Scherzinger <[email protected]>
  • Loading branch information
dlwetteronline authored and AndyScherzinger committed Aug 17, 2024
1 parent 875221d commit 3a7b87c
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ public NextcloudRetrofitServiceMethod(String apiEndpoint, @NonNull Method method
}

/**
* filter out empty parameter annotations (e.g. when using kotlin)
* filter out empty parameter annotations (e.g. when using coroutines in kotlin (suspend functions))
* For functions that are suspendable, the Continuation parameter will be added on the JVM side.
* https://blog.kotlin-academy.com/a-little-reflection-about-coroutines-34050cbc4fe6
* @param annotations
* @return
*/
Expand Down

0 comments on commit 3a7b87c

Please sign in to comment.