Module asynchronous

Module asynchronous 

Source
Available on crate feature async only.
Expand description

Async Stream Deck Code from this module is using block_in_place, and so they cannot be used in current_thread runtimes

Structs§

AsyncDeviceStateReader
Button reader that keeps state of the Stream Deck and returns events instead of full states
AsyncStreamDeck
Stream Deck interface suitable to be used in async, uses block_in_place so this wrapper cannot be used in current_thread runtimes

Functions§

list_devices_async
Returns a list of devices as (Kind, Serial Number) that could be found using HidApi, can be safely ran inside multi_thread runtime
refresh_device_list_async
Actually refreshes the device list, can be safely ran inside multi_thread runtime