discardWhenBusy property
void Function(T value)
get
discardWhenBusy
Implementation
void Function(T value) get discardWhenBusy {
var working = false;
return (value) async {
if (working) return;
working = true;
await this(value);
working = false;
};
}