Skip to content

Commit

Permalink
define custom suspend function
Browse files Browse the repository at this point in the history
  • Loading branch information
Louis-XWB committed Sep 16, 2024
1 parent 1ad8421 commit 7218cb1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
package com.novar.supercorouutine._1_basics

import com.novar.supercorouutine.common.Contributor
import com.novar.supercorouutine.common.gitHub

suspend fun getRetrofitContributors(): List<Contributor> {
return gitHub.contributors("square", "retrofit")
}

0 comments on commit 7218cb1

Please sign in to comment.