vectara / stream-query-client

A TypeScript utility for easily making requests/parsing responses to/from Vectara's streaming query API
Apache License 2.0
3 stars 0 forks source link

Support canceling an active request #12

Open cjcenizal opened 4 months ago

cjcenizal commented 4 months ago

Maybe streamQuery can return a cancel function that the consumer can call to end the stream.