Add overload to SearchVideosAsync
See original GitHub issueIt would be great to have the option to specify the number of videos instead of pages when using SearchVideosAsync
.
Issue Analytics
- State:
- Created 6 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Loading video asynchronously - html
Try adding preload attribute inside the video tag. It will load the video after the complete page load.
Read more >Async Overloading
One issue to be aware of is that unlike Swift we cannot immediately fail if a synchronous overload is selected in an async...
Read more >[API Proposal]: Add async parse overload for JsonNode ...
Background and motivation Both JsonSerializer and JsonDocument have async parse method overloads when deserializing from Stream.
Read more >Add asynchronous overload of WindowsIdentity. ...
ASP.NET Core is getting many requests for users that want to impersonate the authenticated user of the request and perform actions on their ......
Read more >Async for LangChain and LLMs
In this article, I will cover how to use asynchronous calls to LLMs for long workflows using LangChain. We will go through an...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Figure I’d put my two cents in here.
I don’t think you’d need to remove pages in favor of
desiredVideoCount
. For scenario 2, I say just leave out the remaining videos on the last page and return only the amount the user requested. Scenario 1 shouldn’t need to change. If the user wants more control and wants to trim and filter the results themselves, then they can just use pages.desiredVideoCount
would be more of a convenience for the user.Because unfortunately we can’t guarantee page size, with videos being removed or blocked or whatnot