Total.js Platform
Total.js Platform

Total.js Platform news and tutorials

How can I create a maximum calling limit in a function?

How can I create a maximum calling limit in a function?

  • the target function must be asynchronous
  • we use U.queue(name, maximum_calls, fn(next)) method (documentation)

Testing: