RestrictedSingleUseAction

Represents an operation that does not return a result and can only be executed once when canExecute returns true. This is protected, so all future calls won't execute the actual action.

Constructors

Link copied to clipboard
constructor(canExecute: BooleanSupplier, action: Runnable)

Functions

Link copied to clipboard
operator fun invoke()