We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d2a546 commit 83752a4Copy full SHA for 83752a4
README.md
@@ -240,7 +240,8 @@ array.map(fn => try fn())
240
// yields Result
241
yield try something()
242
243
-// Result<T> where T is return type of iterator().next()
+// Result<T> where T is the argument of iterator().next(T) but also captures
244
+// any error thrown by something()
245
try yield something()
246
247
// Result<Awaited<ReturnType<typeof something>>>
0 commit comments