using System.Threading.Tasks;
namespace MassiveKnob.Plugin
{
///
/// Required to be implemented for Action type InputDigital. Receives an update when a knob's position changes.
///
public interface IMassiveKnobDigitalAction : IMassiveKnobActionInstance
{
///
/// Called when a digital input's value changes.
///
/// The new value.
ValueTask DigitalChanged(bool on);
}
}