using System.Threading.Tasks;
namespace MassiveKnob.Plugin
{
///
/// Required to be implemented for Action type InputAnalog. Receives an update when a knob's position changes.
///
public interface IMassiveKnobAnalogAction : IMassiveKnobActionInstance
{
///
/// Called when a knob's position changes.
///
/// The new value. Range is 0 to 100.
ValueTask AnalogChanged(byte value);
}
}