ifSuccessful

open fun ifSuccessful(consumer: Consumer<T>)(source)

Calls the consumer with the result if parsing was succesful.