Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact
Onur Taşkıran LogoOnur Taskiran's Personal BlogOnur Taskiran Blog
HomeAboutProjectsServicesContact
HomeAboutProjectsServicesContact

Posts tagged with "promises"

How to Use Async & Await in JavaScript

How to Use Async & Await in JavaScript

20 April 20234 min readWeb Programming

We have two keywords Async and Await. We use async in front of a function declaration or function expression. The async keyword is used to define a particular function as an asynchronous function. When we put the Async keyword at the beginning of our function, we get a promise.

#JavaScript#Async#Await+3 more
What is a Promise in JavaScript?

What is a Promise in JavaScript?

14 April 20234 min readWeb Programming

Promise is easier to write and implement than callbacks. A promise is simply an object that represents the completion or failure of a process. It's usually something that takes time. When we use a library like Axios we return a promise and when we request data from api this process may take time and this value may never come back...

#JavaScript#Promises#Asynchronous Programming+3 more