Skip to content

Commit

Permalink
Added forgotten docs
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel1464 committed Dec 14, 2024
1 parent 06b4233 commit 9ed9912
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ public NTBackend() {
this.m_nt = NetworkTableInstance.getDefault();
}

/** Creates a new NTBackend that is disabled whenever the disabledSupplier returns true. */
/**
* Creates a new NTBackend that is disabled whenever the disabledSupplier returns true.
*
* @param disabledSupplier the disable condition for NT logging
*/
public NTBackend disableWhen(BooleanSupplier disabledSupplier) {
var newBackend = new NTBackend(this.m_nt);
if (m_disabledSupplier == null) {
Expand Down

0 comments on commit 9ed9912

Please sign in to comment.