Skip to main content

asyncJS Keyword to prepend function to allow Asynchronous Code

References

  1. unlink()fs Static Method to async remove file/Symbolic Link

  2. rmdir()fs Static Method to async remove dir

  3. rename()fs Static Method to async rename file (to new path)

  4. mkdir()fs Static Method to async make new dir

  5. appendFile()fs Static Method to async append data to file

  6. writeFile()fs Static Method to async write data to file

  7. readFile()fs Static Method to async read contents of file

  8. readdir()fs Static Method to async read dir content

  9. Event-Driven ↔ (model) to listen/respond async events via Callback Function

  10. PromiseObject placeholder for async operation & eventual Settled result

  11. Settledasync task complete

  12. Pendingasync task still run in background

  13. .json()async Chain Method to return Promise parse as JSON format

  14. .then()async Chain Method to execute Callback on Fullfill, auto-pass Promise Value as arg

  15. Fetch APIWeb API to Data Fetch Web Resource via async Promise

  16. useAuth()async Custom Hook to get Auth state from Backend/Online API

  17. useAsync()async Custom Hook to return value, error, status of Data Fetch