Feat: Request & Response streaming
Closed this issue · 1 comments
ProphetLamb commented
The current interaction with SurrealDB wait for the entirety of the response to arrive before processing the JSON into a DOM and then allowing the user to access the received content.
This is a bad pipeline, because we wait at two separate instances for the remaining tasks.
This should be solved using a custom DataReader
and DataWriiter
, they can be interacted with on a document by document basis, similar to the SQLite
driver.
ProphetLamb commented
Implemented with #68