Streaming Response using ruby

I’d like to use response streaming in my ruby lambda.
How do I enable this in serverless.yml and also how would I implement it in a ruby lambda?

From the AWS docs

Currently, Lambda supports response streaming only on Node.js 14.x, Node.js 16.x, and Node.js 18.x managed runtimes

Sorry, but you’ll need to use Node for now.