aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:16:52 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:16:52 -0700
commit38cc698b4da64c7b9135c5748a4c79146b98c490 (patch)
treef38c5fae8746c266d341413c2ad6a6af8c8b2831
parentf13f465024d434f5976128f8690b581285ebd68c (diff)
downloadbun-38cc698b4da64c7b9135c5748a4c79146b98c490.tar.gz
bun-38cc698b4da64c7b9135c5748a4c79146b98c490.tar.zst
bun-38cc698b4da64c7b9135c5748a4c79146b98c490.zip
Update README.md
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index e6e85b59c..3063170d3 100644
--- a/README.md
+++ b/README.md
@@ -2578,6 +2578,8 @@ console.log(ls); // null
`Bun.peek` is a utility function that lets you read a promise's result without `await` or `.then`, but only if the promise has already fulfilled or rejected.
+This function was added in Bun v0.2.2.
+
```ts
import { peek } from "bun";