SelectTask

constructor(@NonNull stateSupplier: Supplier<T>)

Create a new select task with the given state supplier.

Parameters

stateSupplier

the supplier of states to check in the when() method