Seeking Help with Effect for Playwright URL Screenshots and Parallel Requests
I've been trying to get into Effect for a while now, but can never go over the pile of new concepts and sparse documentation. BUT I still want to do it, so figured I could ask for help here?
I'm trying to create effects to load & take screenshots of URLs using Playwright. The low hanging fruit would be to parallelize requests more easily and with more robustness, but eventually I'd like to tap into Effect's capabilities to gather metrics on page load times, bundle sizes, etc. etc.
My current challenge is how to get parallelism going. Trying to follow the example in Michael's talk is not working,
Effect.collectAllPar
Effect.collectAllPar
complains that
urls.map((url) => downloadUrl(url))
urls.map((url) => downloadUrl(url))
. I'm also struggling to expose the Playwright/Chromium instance through context shared across all