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

Class AsyncDeviceStateReader

src/asynchronous.rs:194–197  ·  view source on GitHub ↗

Button reader that keeps state of the Stream Deck and returns events instead of full states

Source from the content-addressed store, hash-verified

192
193/// Button reader that keeps state of the Stream Deck and returns events instead of full states
194pub struct AsyncDeviceStateReader {
195 device: AsyncStreamDeck,
196 states: Mutex<DeviceState>,
197}
198
199impl AsyncDeviceStateReader {
200 /// Reads states and returns updates

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected