Better HN
topnewbestaskshowjobs
Log inSign up

kevinforrestcon

3 karma · joined Aug 8, 2021 (5y ago) · 2 submissions

Submissions

comment 4y ago · link · parent

If the result of the async function is not necessarily the same value every time you call it, you may want to recompute it

comment 4y ago · link · parent

Then don't "do" the delete, when the users "do" the delete.

Pretend to do it, actually do it 24 hours later, and if they "undo" the delete within that time frame, just remove it from the delete queue process.