wpilib.event Package

BooleanEvent(loop, condition)

This class provides an easy way to link actions to inputs.

EventLoop()

A declarative way to bind a set of actions to a loop and execute them when the loop is polled.