Function assert_persist_future_send
fn assert_persist_future_send(
store: &mut TursoStore,
client: &mut Client<JournaledSession>,
)Available on crate feature
turso only.Expand description
Compile-time guard that TursoStore::persist returns a Send future.
The connection event loop drives persist from a tokio::spawned task,
which requires Send futures. turso Statements are !Sync, so persist
takes &mut self (a &mut TursoStore is Send as long as the store is);
this pins that down. load runs before the task is spawned, so it is
exempt. Never called; it only needs to type-check.