Title: stream: remove isPromise utility function · nodejs/node@b7aa5e2 · GitHub
Open Graph Title: stream: remove isPromise utility function · nodejs/node@b7aa5e2
X Title: stream: remove isPromise utility function · nodejs/node@b7aa5e2
Description: Node.js JavaScript runtime ✨🐢🚀✨. Contribute to nodejs/node development by creating an account on GitHub.
Open Graph Description: The function was not checking if the parameter was actually a Promise instance, but if it has a `then` method. Removing the utility function in favor of a clearer `typeof` check, handling the case ...
X Description: The function was not checking if the parameter was actually a Promise instance, but if it has a `then` method. Removing the utility function in favor of a clearer `typeof` check, handling the case ...
Opengraph URL: /nodejs/node/commit/b7aa5e22966dbc8e819ed0ea1eebd0c2010c5146
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/commit/:name(/*path) |
| route-controller | commit |
| route-action | show |
| fetch-nonce | v2:2b9e9b3a-7f93-6c99-1d2a-5c8fa63dcfb4 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | D06E:1B7E6F:105C3E4:1696071:696A8AFF |
| html-safe-nonce | 6d2ce2846adabfe6742d7bef97032b8b8f680b8103b1c570bf5d20ef594c9073 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMDZFOjFCN0U2RjoxMDVDM0U0OjE2OTYwNzE6Njk2QThBRkYiLCJ2aXNpdG9yX2lkIjoiNjQ2MjI3MTg2MzM1NzM0NDUxMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 1169b9ba8d0b2cc7fd4d5bea4d002323a9582430771b9d0d6a9677e318e05e3b |
| hovercard-subject-tag | repository:27193779 |
| github-keyboard-shortcuts | repository,commits,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/nodejs/node/commit/b7aa5e2296 |
| twitter:image | https://opengraph.githubassets.com/8f2c926ebcc45606fb7f9764fe806c1031c97f285351838d4c9483d2bf3387b5/nodejs/node/commit/b7aa5e22966dbc8e819ed0ea1eebd0c2010c5146 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8f2c926ebcc45606fb7f9764fe806c1031c97f285351838d4c9483d2bf3387b5/nodejs/node/commit/b7aa5e22966dbc8e819ed0ea1eebd0c2010c5146 |
| og:image:alt | The function was not checking if the parameter was actually a Promise instance, but if it has a `then` method. Removing the utility function in favor of a clearer `typeof` check, handling the case ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:updated_time | 1604946904 |
| hostname | github.com |
| expected-hostname | github.com |
| None | d2aa6dedd7d97fa651b17c40401f2605f309df5ca5fb659bf0554cf34f1de825 |
| turbo-cache-control | no-cache |
| go-import | github.com/nodejs/node git https://github.com/nodejs/node.git |
| octolytics-dimension-user_id | 9950313 |
| octolytics-dimension-user_login | nodejs |
| octolytics-dimension-repository_id | 27193779 |
| octolytics-dimension-repository_nwo | nodejs/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 27193779 |
| octolytics-dimension-repository_network_root_nwo | nodejs/node |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c1dbca8981c5e3d6a69bce2f1d289e732b86241d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width