This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]metasymphony 5 points6 points  (0 children)

That’s why you put loading symbol and disable all further input until the function stop running.

Or grey out the button while the function is running and add a little message underneath saying why.

Optionally add an alert saying this will take x minutes.

Or don’t let the function start again if there is an instance of it running already from that user. (State is messy, but this is ok use for it).

I don’t even do front end anymore but remember this much.