Converting Loader Request to Runtime Requirement in Effect-remix-stream
Hi I really enjoyed the effect-live-stream. I have a question about the implementation of the runtime:
https://github.com/mikearnaldi/effect-remix-stream/blob/main/app/lib/utilities.ts#L13
In the function args we get the loader request - Can I convert the request to be a runtime requirement in a way that I will be able to yield it in any service layer I'll need access to the requets. e.g. can the request URL or access the current user session (from the request cookie)?
https://github.com/mikearnaldi/effect-remix-stream/blob/main/app/lib/utilities.ts#L13
In the function args we get the loader request - Can I convert the request to be a runtime requirement in a way that I will be able to yield it in any service layer I'll need access to the requets. e.g. can the request URL or access the current user session (from the request cookie)?
