Last active
November 29, 2019 07:42
-
-
Save softberries/f5897b225115dba0f32f2cf7af6016b7 to your computer and use it in GitHub Desktop.
This file contains 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
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