question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] Allow for browsing by return type

See original GitHub issue

I was wondering what methods or properties return a ReadableStream. Examples are Body.body or Blob.stream(), but there is currently no way to obtain a complete list. This is a feature request to add such functionality to the docs. Possible solutions:

  • @samthor suggested parsing TypeScript .d.ts files.
  • @chrisdavidmills meant it would be easy to “write a script that crawls the repo and returns all instances of features with a certain return value”.
  • Another idea might be to look at Web IDL.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:14 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
tomayaccommented, Nov 4, 2021

Thanks for the transparency regarding the decision to not proceed. Appreciated you taking the time to consider this nevertheless.

1reaction
ddbeckcommented, Nov 3, 2021

I think we should not do this, at least not in this form. Reading this thread, I think Chris’s comment is still the thing:

Maybe it would be an idea to postpone thinking about this until we have got further with linting?

I think this sort of thing should emerge as a consequence of content modeling work. It’s possible to sprinkle structure on existing content, but that’s also sort of how you end up in a situation like mdn/data. If we’re going to start introducing new frontmatter fields, we need to start with page type and do the work to structure the content accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

[feature request] option to assume None as return type #12695
Feature an option to assume None as the return type if there is no return type annotation (With this option, disallow-untyped-defs would ...
Read more >
Permissions Policy - HTTP - MDN Web Docs - Mozilla
Chrome Edge Permissions‑Policy Full support. Chrome88. more. Toggle history Full supp... accelerometer. Experimental Full support. Chrome88. more. Toggle history Full supp... ambient‑light‑sensor. Experimental Full support. Chrome88....
Read more >
Feature Request - Site Action Navigation - Appian Community
This feature request involves navigation controls upon Site Action completion. Currently, as with all Appian Actions, when one is completed the user is ......
Read more >
Feature Request/Bug Report Form - Adobe
Welcome to the Feature Request and Bug Report Submission Form. ... and that Adobe has no obligation to return anything submitted, respond to, ......
Read more >
Permissions Policy - W3C
When not empty, the " allow " attribute will result in adding an allowlist for each recognized feature to the iframe element's nested...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found