Created
May 12, 2020 23:05
-
-
Save fkorotkov/5f63546b9e6d9022a25d996480d547a5 to your computer and use it in GitHub Desktop.
Loader code sample for a blog post
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface Loader<ID, T> { | |
suspend fun loadByIds(ids: Set<ID>): Map<ID, T> | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment