Composing Services in an Effect Typescript Application

For my cookie jar service, I have two systems, the initializer, which loads the data and provides the default service implementation (Effect.Service), and the writer, which was made with HttpLayerRouter.middleware is dependent on the CookieJar Service and the cookies to the response. Is that the right way to compose such a thing? Or is it possible to have the initializer also write at the end of the request cycle?
Was this page helpful?