Open dested opened 1 week ago
yeah there actually is a way to make it work because we made the underlying bridge stream based but this probably isn't super high priority at the moment
you're right we should document it
Yeah I'll add it
This is the example workaround:
import { streamHandle, handle } from 'hono/aws-lambda';
import app from './app';
export const handler = process.env.SST_LIVE ? handle(app) : streamHandle(app);
This took a while to track down but the live lambda handler doesn't support streaming. To be honest, I don't know how this could work given the realtime writing, but it should at least be documented somewhere. If you agree, I'll find a spot and submit a PR!