oneUse

@CheckReturnValue
open fun oneUse(oneUse: Boolean): T(source)

Deprecated

Renamed to 'singleUse'

Replace with

singleUse(oneUse)

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.


open var oneUse: Boolean(source)

Deprecated

Renamed to 'singleUse'

Replace with

singleUse

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.