Understanding `runMain` in Web Applications with Effect-TS
I have a question regarding: https://effect-ts.github.io/effect/platform-browser/BrowserRuntime.ts.html#runmain
I understand this with the node api, but where in a web application would you
my thought was that you'd probably
I understand this with the node api, but where in a web application would you
runMain? I would assume you would run your effects at the edge of your application, is this in case you need to execute effects on a startup of the page?my thought was that you'd probably
runPromise at event handlers or something to run effects, i know this is a general question I just am trying to visualize where this would be used. if anyone has an example i'm trying to see how people use on github thanks