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.

Add overload to SearchVideosAsync

See original GitHub issue

It would be great to have the option to specify the number of videos instead of pages when using SearchVideosAsync.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (9 by maintainers)

github_iconTop GitHub Comments

4reactions
Giggitybytecommented, Oct 11, 2018

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.

1reaction
Tyrrrzcommented, Jul 8, 2019

Because unfortunately we can’t guarantee page size, with videos being removed or blocked or whatnot

Read more comments on GitHub >

github_iconTop 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 >

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