pub async fn capture_batch(
store: &PgStore,
limit: i64,
priority: i32,
) -> Result<usize, ForceSyncError>Expand description
Captures a batch of unprocessed PostgreSQL outbox rows into the sync journal.
ยงErrors
Returns a database error if the transaction cannot be opened or a row cannot be converted into a sync envelope.