Do we need Consumer/Supplier in Kotlin

Sorry, I’m misunderstood your message. I thought you was talking about Java Stream API.