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.
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
andDataWriiter
, they can be interacted with on a document by document basis, similar to theSQLite
driver.