Spec-Zone.ru › LÖVE

Channel:hasRead

Available since LÖVE 11.0
This function is not supported in earlier versions.

Gets whether a pushed value has been popped or otherwise removed from the Channel.

Function

Synopsis

hasread = Channel:hasRead( id )

Arguments

number id
An id value previously returned by Channel:push.

Returns

boolean hasread
Whether the value represented by the id has been removed from the Channel via Channel:pop, Channel:demand, or Channel:clear.

See Also

  • Channel
  • Channel:push
  • Channel:pop
  • Channel:demand
  • Channel:clear

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/Channel:hasRead

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API