logoalt Hacker News

EGreglast Monday at 11:05 PM1 replyview on HN

It does. You queue ALL of these side effects (simply tasks whose exceptions don't rollback your own task) until the end. Then you can perform them all, in parallel if you wish.


Replies

lelanthranlast Tuesday at 6:09 AM

>>does not, in practice, bring any advantages.

> It does.

Well, what are they?

> You queue ALL of these side effects (simply tasks whose exceptions don't rollback your own task) until the end.

Yes, but what are the advantages of doing this?

> Then you can perform them all, in parallel if you wish.

I can do that without queuing them up first.

show 1 reply