Difference between revisions of "Channel:push"

m
m (See Also: +link to :supply)
Line 15: Line 15:
 
* [[parent::Channel]]
 
* [[parent::Channel]]
 
* [[Channel:pop]]
 
* [[Channel:pop]]
 +
* [[Channel:supply]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Send a message to a thread Channel.}}
 
{{#set:Description=Send a message to a thread Channel.}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|Channel:push}}
 
{{i18n|Channel:push}}

Revision as of 22:58, 6 September 2014

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

Send a message to the thread Channel.

The value of the message can be a boolean, string, number, LÖVE userdata, or a simple flat table. Foreign userdata (Lua's files, LuaSocket, ENet, ...), functions, and tables inside tables are not supported.

Function

Synopsis

Channel:push( value )

Arguments

value value
The contents of the message.

Returns

None.

See Also

Other Languages