Consumer<T>: Function<T, void>

Type of function that takes a value of type T and returns void. This function represents a consumer, which is a function that takes a value and does something with it.

Type Parameters

  • T

    The type of the input to the function

Generated using TypeDoc