Hi, If I have a custom scope for my component, but...
# coroutines
u
Hi, If I have a custom scope for my component, but also want granular
fun cancel(id: Id)
, i.e. I need my jobs keyed for that. Should I have some separate map for this? Feels like scope functionality, but in order for that I'd need the scope to be backed by a map, or iterate its jobs?
b
You can look at the scope's job and get the `n`th child from its
children
property
The question will be how does this
Id
relate to the jobs
u
well ill generate the id for each, but I dont think position will do. Maybe custom IndexedJob?