Skip to content

Instantly share code, notes, and snippets.

@JacquesSmuts
Last active May 10, 2019 08:40
Show Gist options
  • Save JacquesSmuts/f43755a820658b19f6c5fdd4fdb14eb4 to your computer and use it in GitHub Desktop.
Save JacquesSmuts/f43755a820658b19f6c5fdd4fdb14eb4 to your computer and use it in GitHub Desktop.
inline fun <reified Interface, Input, Result> callFunction(
apiCall: [THE INTERCHANGEABLE BIT],
input: Input //If there is an input
): Result?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment