You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just realised from the doc, ListenTarget runs its function synchronously:
"Note that the function is called synchronously when handling events. The function should avoid blocking at all costs. For example, any Actions must be run via a separate goroutine."
I just realised from the doc, ListenTarget runs its function synchronously:
"Note that the function is called synchronously when handling events. The function should avoid blocking at all costs. For example, any Actions must be run via a separate goroutine."
https://godoc.org/github.com/chromedp/chromedp#ListenTarget
We'll need to takeout the writer from inside the function and preferably using goroutine to run the function logic.
The text was updated successfully, but these errors were encountered: