[GH-ISSUE #47] Support for getting exception from Net.await #24

Closed
opened 2026-05-05 10:59:47 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @pauldotknopf on GitHub (Aug 4, 2018).
Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/47

Currently, we have:

Net.await(task, cb)

If an exception is thrown, there is no indication.

We need:

Net.await(task, successCb, failedCb)

Either successCb or failedCb is guaranteed to be called once.

Originally created by @pauldotknopf on GitHub (Aug 4, 2018). Original GitHub issue: https://github.com/qmlnet/qmlnet/issues/47 Currently, we have: ```js Net.await(task, cb) ``` If an exception is thrown, there is no indication. We need: ```js Net.await(task, successCb, failedCb) ``` Either ```successCb``` or ```failedCb``` is guaranteed to be called once.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/qmlnet#24
No description provided.