Join Slack
Powered by
<@U10EJRH2L> Then you just pass inn a different sc...
# tornadofx
e
edvin
10/31/2016, 10:48 PM
@Ruckus
Then you just pass inn a different scope for those two. If you want to inject two of the same in the same component, just do
val first : YourModel by inject(Scope()); val second : YourModel by inject(Scope())
. It will create a new scope, but you don't need to use it for anything. We might want to have a convenience function for that.
Open in Slack
Previous
Next