So after some testing where i start a changefeed, the stack will always get overrun.
I am going to guess it is due to fact that the data is never ended, thus, never discarded in the background.
*snip*
let query = r.db("database")
.table("changing_table")
.changes()
.run::<Change<DataStruct, DataStruct>>( conn ).unwrap();
let mut wait = query.wait();
loop {
let val = wait.next();
match val {
*snip*
This is snippet of the code I am using. Is there any other way to discard data once it is moved out of the iterator?
So after some testing where i start a changefeed, the stack will always get overrun.
I am going to guess it is due to fact that the data is never ended, thus, never discarded in the background.
This is snippet of the code I am using. Is there any other way to discard data once it is moved out of the iterator?