aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:13:29 -0700
committerGravatar Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com> 2022-10-24 04:13:29 -0700
commitf13f465024d434f5976128f8690b581285ebd68c (patch)
tree257da5501c64477d9139bd8f914c668ae81f70c6
parente8d6ad6d66c9594027d944885524863e8a985bc0 (diff)
downloadbun-f13f465024d434f5976128f8690b581285ebd68c.tar.gz
bun-f13f465024d434f5976128f8690b581285ebd68c.tar.zst
bun-f13f465024d434f5976128f8690b581285ebd68c.zip
Update README.md
-rw-r--r--README.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/README.md b/README.md
index 04f8515e7..e6e85b59c 100644
--- a/README.md
+++ b/README.md
@@ -2582,7 +2582,10 @@ console.log(ls); // null
import { peek } from "bun";
const promise = Promise.resolve("hi");
+
+// no await!
const result = peek(promise);
+
console.log(result); // "hi"
```