JavaDoc: [https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj/AsynchronousInterrupt.html](https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj/AsynchronousInterrupt.html) it's pretty simple, instead of doing something like: ```java public Command intakeIn() { return this.run( // insert command body here .until(beambreak::isTriggered) .andThen(this.off()); } ``` <br>you would basically remove the .until and .andThen, and migrate the `this.off()` call to the callback of the AsyncInterrupt.<br><br>this should improve beam break perf, but remains to be seen.
JavaDoc: https://github.wpilib.org/allwpilib/docs/release/java/edu/wpi/first/wpilibj/AsynchronousInterrupt.html
it's pretty simple, instead of doing something like:
you would basically remove the .until and .andThen, and migrate the
this.off()call to the callback of the AsyncInterrupt.this should improve beam break perf, but remains to be seen.