Skip to content

Commit 903b692

Browse files
committed
Add note for if on_unhandled_rejection throws error
1 parent 008f3a1 commit 903b692

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/vital/Async/Promise.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,7 @@ wait({promise}[, {options}]) *Vital.Async.Promise.wait()*
380380
on_unhandled_rejection({callback}) *Vital.Async.Promise.on_unhandled_rejection*
381381

382382
Set callback to catch all unhandled rejected promise's result.
383+
If {callback} throws error, |Async.Promise| does not handle it.
383384

384385
The {callback} is |Funcref|, it's argument can be unhandled thrown error or unhandled rejected value.
385386

0 commit comments

Comments
 (0)