pub fn push_tasks<E>( conn: &mut E, queue: &str, buffer: Vec<PgTask>, ) -> impl Future<Output = Result<(), Error>> + Sendwhere for<'e> &'e mut E: Executor<'e, Database = Postgres> + Send,
Push a batch of tasks to the database