Do you mean:
thing = {
buildUp: doThis(),
tearDown: doThat(),
whileAlive: doMainTask()
}
because I can see the benefit of that. I now wonder if I could extend Observable to that, using ideas from this thread? That might be super clean.
Do you mean:
thing = {
buildUp: doThis(),
tearDown: doThat(),
whileAlive: doMainTask()
}
because I can see the benefit of that. I now wonder if I could extend Observable to that, using ideas from this thread? That might be super clean.