Question about effect lifecycle and runtime behavior in Effect Typescript library

very noob question...
If I run an effect using runtime.runPromise and that effect has "side effects" like pushing to a queue, or run forever or some kind of background task, will those be shut down once the promise resolves?
I have the feeling that by default the runtime will shutdown.
However, what if I have one part of my application running with Effect.runFork(program) and other parts call services that may have state, which is also used in the program? In that case I understand it will just run forever until the main forked program stops?
Was this page helpful?