chand1012
CDCloudflare Developers
•Created by chand1012 on 12/3/2023 in #workers-help
How to consume and modify a stream in Workers
I am using a Queued worker to consume a stream coming from Workers AI. This stream will then be put into a D1 database so users can look at what the result was at a later time. I cannot seem to get the following function to work properly.
The following error is returned:
Inter-TransformStream ReadableStream.pipeTo() is not implemented.
I've tried a few different iterations of the above function and none of them work due to the above error. I would like to be able to modify and capture the streams from within Workers but if that's not possible, I'm not sure if they would be acceptable for this project.1 replies