Skip to content

Instantly share code, notes, and snippets.

@JacquesSmuts
Last active April 27, 2019 14:57
Show Gist options
  • Select an option

  • Save JacquesSmuts/10a7bab01fe4e8292b307955beac2da6 to your computer and use it in GitHub Desktop.

Select an option

Save JacquesSmuts/10a7bab01fe4e8292b307955beac2da6 to your computer and use it in GitHub Desktop.
implementation "org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion" // In your gradle
import kotlin.reflect.KFunction1 // You have to import this manually
// The IDE generates this automatically
fun doAwsApiCall(
services: List<RetroService>,
apiCall: KFunction1<AwsCodeCommitService, List<AwsRepo>>
): List<AwsRepo>? {
TODO("Not implemented yet")
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment