diff options
author | 2022-10-24 04:16:52 -0700 | |
---|---|---|
committer | 2022-10-24 04:16:52 -0700 | |
commit | 38cc698b4da64c7b9135c5748a4c79146b98c490 (patch) | |
tree | f38c5fae8746c266d341413c2ad6a6af8c8b2831 | |
parent | f13f465024d434f5976128f8690b581285ebd68c (diff) | |
download | bun-38cc698b4da64c7b9135c5748a4c79146b98c490.tar.gz bun-38cc698b4da64c7b9135c5748a4c79146b98c490.tar.zst bun-38cc698b4da64c7b9135c5748a4c79146b98c490.zip |
Update README.md
-rw-r--r-- | README.md | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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"; |