Code Snippet: How to avoid calling a function twice until its task has finished
Aurélien Delogu

Aurélien Delogu @pyrsmk

About: I'm a senior developer who thinks that coding is pretty much like art. I'm also crazy about sushis 🍣

Location:
Angers, France
Joined:
Jul 2, 2020

Code Snippet: How to avoid calling a function twice until its task has finished

Publish Date: Jul 1 '22
5 1

Comments 1 total

  • Aurélien Delogu
    Aurélien DeloguJul 1, 2022

    For example, this is especially useful for applications that wait for callbacks that usually have a tiny waiting time, to avoid losing time implementing routines to block/unblock a button (which requires styling, possible more HTML tags, additional JS code, etc...).

Add comment