Surreal-Net / Surreal.Net

Database driver for SurrealDB available for REST and RPC sessions.
Apache License 2.0
57 stars 7 forks source link

Feat: Request & Response streaming #51

Closed ProphetLamb closed 2 years ago

ProphetLamb commented 2 years ago

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 2 years ago

Implemented with #68