Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
private class ContinuationAdapter(
private val continuation: Continuation<List<Task>>
) : DownloadCallback {
override fun onDownloaded(tasks: List<Task>) {
continuation.resume(tasks)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment