Created
May 10, 2020 19:38
-
-
Save jchapuis/575f23635f11890a49eb47d6a2df8e41 to your computer and use it in GitHub Desktop.
Markdium-Orchestrating startup and shutdown in Scala
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
Service | |
.withName("in-memory-cache") | |
.withFallibleStarter{ () => cache.loadAsync() : Future[Either[StartError, Unit]] } | |
.build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment