of

open fun <T> of(@NotNull biFunction: @NotNull HudPlaceholder.PlaceholderFunction<T>): @NotNull HudPlaceholder<T>

Creates new placeholder by function.

Return

an instance of placeholder.

Parameters

biFunction

builder

<T>

return value's type.