Skip to content

Instantly share code, notes, and snippets.

@softberries
Last active November 29, 2019 07:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save softberries/f5897b225115dba0f32f2cf7af6016b7 to your computer and use it in GitHub Desktop.
Save softberries/f5897b225115dba0f32f2cf7af6016b7 to your computer and use it in GitHub Desktop.
def list(): IO[Seq[Person]] = IO.fromFuture {
IO {
db.run {
people.result
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment