Skip to content

Commit

Permalink
further clarify idea
Browse files Browse the repository at this point in the history
  • Loading branch information
brillout committed May 4, 2024
1 parent 72d1097 commit e8617e0
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ const response = await handli(() => fetch(url))

That's it: all connection issues are now gracefully handled.

> [!NOTE]
> The promise `await handli(...)` never rejects. (Although it may never resolve if the connection isssue never resolves.)
>
> Thus you can skip the usual `try...catch` for handling connection issues: instead you assume the promise to always resolve.
>
> In other words: you can develop your app as if connection issues are non-existent.
Handli is [fully customizable](#usage-faq) and [progressively removable](#how-do-i-progressively-remove-handli).

[**Live Demo**](https://brillout.github.io/handli)
Expand Down

0 comments on commit e8617e0

Please sign in to comment.