{{newin|[[0.9.0]]|090|type=function}}
Clears all the messages in the Channel queue.
{{notice|This function doesn't free up the memory used by a Channel, it needs to be garbage collected to release the memory.}}
== Function ==
=== Synopsis ===
<source lang="lua">
Channel:clear( )
</source>
=== Arguments ===
None.
=== Returns ===
Nothing.
== See Also ==
* [[parent::Channel]]
[[Category:Functions]]
{{#set:Description=Clears all the messages in the Channel queue.}}
== Other Languages ==
{{i18n|Channel:clear}}