I've met such a problem: my function takes a very long time to run. If a user runs that function by mistake he must wait until the function gets to the end. Is it possible to stop a function by clicking "Escape", for example? I just can't send anything to the function while it is running.
Thanks, Andrew.