MCPcopy Create free account
hub / github.com/OpenActionAPI/rust-elgato-streamdeck / flush

Method flush

src/asynchronous.rs:176–179  ·  view source on GitHub ↗

Flushes the button's image to the device

(&self)

Source from the content-addressed store, hash-verified

174
175 /// Flushes the button's image to the device
176 pub async fn flush(&self) -> Result<(), StreamDeckError> {
177 let device = self.device.lock().await;
178 block_in_place(move || device.flush())
179 }
180
181 /// Returns button state reader for this device
182 pub fn get_reader(&self) -> Arc<AsyncDeviceStateReader> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected