on multiplatform / js how can i initialize singles...
# koin
n
on multiplatform / js how can i initialize singles with suspend functions ?
a
you can’t directly from a definition
you can pass via a coroutines builder perhaps
n
can you show me some example code ? from what i can tell starting a promise in a
single {}
block does not achieve what i need, since i cannot retrieve the result without a
.then {}
block.. and that breaks koin