singleUse

@CheckReturnValue
open fun singleUse(singleUse: Boolean): T(source)
abstract var singleUse: Boolean(source)

Sets this component as being usable once.

Component deletion

  • If the component is a group, then all of its owned components will also be deleted.

  • If the component is inside a group, then all the group's components will also be deleted.

This will also cause cancellation of any associated timeout.