Effect CommunityEC
Effect Community2y ago
9 replies
giacomo

Using `Http.app.toWebHandlerRuntime` in SvelteKit and Remix

I'm wrapping SvelteKit with Effect. In my current setup, I have a shared ManagedRuntime and manually implement load and action utilities that take an effect and return the corresponding SvelteKit handler.
I noticed Http.app.toWebHandlerRuntime. Is this recommended for wrapping handlers in frameworks like SvelteKit and Remix? From the code, it seems like it offers interruption handling. Are there any other benefits?
Was this page helpful?