Last active
August 13, 2018 15:03
-
-
Save charbgr/4b50e6bcc3503519e652857bdccbb3aa to your computer and use it in GitHub Desktop.
Releasing dependencies in Koin
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
module("user_scope") { | |
single("endpoint") { Endpoint() } | |
... | |
} | |
// when user switches account, we simply do this: | |
release("user_scope") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment