pub fn do_later_in_real_time_audio_thread_asap(
        &self,
        op: impl FnOnce(&RealTimeReaper) + Send + 'static,
    ) -> Result<(), &'static str> {
        let sender = &self.audio_thread_task_sender;
        sender
            .send(Box::new(op))
            .map_err(|_| "channel was disconnected")
    }
// Thread-safe. Returns an error if task queue is full (typically if Reaper has been
// deactivated).
Thread-safe. Returns an error if task queue is full (typically if Reaper has been
deactivated).
Thread - safe . Returns an error if task queue is full ( typically if Reaper has been deactivated ) .
pub fn do_later_in_real_time_audio_thread_asap(
        &self,
        op: impl FnOnce(&RealTimeReaper) + Send + 'static,
    ) -> Result<(), &'static str> {
        let sender = &self.audio_thread_task_sender;
        sender
            .send(Box::new(op))
            .map_err(|_| "channel was disconnected")
    }
pub fn do_later_in_real_time_audio_thread_asap ( & self , op : impl FnOnce ( & RealTimeReaper ) + Send + ' static , ) -> Result < ( ) , & ' static str > { let sender = & self . audio_thread_task_sender ; sender . send ( Box :: new ( op ) ) . map_err ( | _ | " " ) }
Thread-safe.
Thread - safe .
&self
op
impl FnOnce(&RealTimeReaper) + Send + 'static
&self
op
impl FnOnce(&RealTimeReaper) + Send + 'static