David Corrado
05/09/2022, 11:51 PMDavid Corrado
05/09/2022, 11:52 PMGrégory Lureau
05/10/2022, 7:58 AMhfhbd
05/10/2022, 9:18 AMscope.promise { }
and expose Promise
Grégory Lureau
05/10/2022, 9:23 AMGlobalScope.promise{ }
is used and it exposes a Promise
. (Note that you may have to remove kotlin.js.
(package name) in the Typescript generated for Promise.)hfhbd
05/10/2022, 9:52 AMDavid Corrado
05/10/2022, 8:33 PMDavid Corrado
05/10/2022, 8:34 PMDavid Corrado
05/10/2022, 8:35 PMdazza5000
05/10/2022, 9:41 PMdazza5000
05/10/2022, 9:41 PMdazza5000
05/10/2022, 9:45 PMdazza5000
05/10/2022, 9:45 PMdazza5000
05/10/2022, 9:47 PM:webApp:browserDevelopmentRun
David Corrado
05/10/2022, 9:48 PMDavid Corrado
05/10/2022, 9:52 PMdazza5000
05/10/2022, 9:54 PMdazza5000
05/10/2022, 9:54 PMdazza5000
05/10/2022, 9:58 PMdazza5000
05/10/2022, 9:58 PMDavid Corrado
05/10/2022, 9:59 PMDavid Corrado
05/10/2022, 10:01 PMdazza5000
05/11/2022, 2:54 PMprintln("The model is ${PokemonListViewModel()}")
println("The list is ${PokemonListViewModel().getList()}")
println("The list is ${PokemonListViewModel().getList().toTypedArray()}")
dazza5000
05/11/2022, 2:54 PMdazza5000
05/11/2022, 2:54 PMprivate val pokemonListViewModel = PokemonListViewModel()
Grégory Lureau
05/11/2022, 3:33 PMGrégory Lureau
05/11/2022, 3:35 PMby lazy { ... }
if ever it works for the compiler...)dazza5000
05/11/2022, 4:01 PMby lazy
had the same issue with the viewmodel being undefined when we used it