Skip to content

Instantly share code, notes, and snippets.

@s1monw1
Created September 16, 2022 05:39
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save s1monw1/f5bddaa0e1a68ab9a96e352e9a925a35 to your computer and use it in GitHub Desktop.
fun getKotlinContributor(name: String): Contributor {
return cachedLeadResults[name]?.also {
LOG.debug("return cached: $it")
} ?: requestContributor(name)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment