Difference between revisions of "Channel:getCount"

m
Line 4: Line 4:
 
=== Synopsis ===
 
=== Synopsis ===
 
<source lang="lua">
 
<source lang="lua">
value = Channel:count( name )
+
value = Channel:getCount( name )
 
</source>
 
</source>
 
=== Arguments ===
 
=== Arguments ===

Revision as of 11:32, 20 May 2013

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

Retrieves the number of messages in the thread channels queue. The name of the message can be any string.

Function

Synopsis

value = Channel:getCount( name )

Arguments

string name
The name of the message.

Returns

number value
The amount of messages in the queue.

See Also

Other Languages