puppeteer-sharp
puppeteer-sharp copied to clipboard
Implement cancellation tokens in wait functions
Puppeteer implemented an AbortController here. I think the C# flavor is a CancellationToken. The problem is that we need to check for the CancellationToken manually to see if it was canceled.
This is a good way to implement it.