Skip to content

Commit

Permalink
Update controllers.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Sorikairox authored May 25, 2022
1 parent c34d429 commit 18f3038
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/learn/controllers.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ Being a modern framework, we know that data extraction is mostly
**asynchronous**. That's why Danet supports and works well with `async`
functions.

!!!info Hint Learn more about `async / await` feature
[here](https://kamilmysliwiec.com/typescript-2-1-introduction-async-await) !!!
!!!info Hint
Learn more about `async / await` feature [here](https://kamilmysliwiec.com/typescript-2-1-introduction-async-await)
!!!

Every async function has to return a `Promise`. This means that you can return a
deferred value that Danet will be able to resolve by itself. Let's see an
Expand Down

0 comments on commit 18f3038

Please sign in to comment.