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 Jul 22, 2024
1 parent 75e7f17 commit 8745e0d
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 8745e0d

Please sign in to comment.