Channel:push

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

Send a message to the thread Channel.

See Variant for the list of supported types.

Function

Synopsis

id = Channel:push( value )

Arguments

Variant value
The contents of the message.

Returns

number id Available since 11.0
Identifier which can be supplied to Channel:hasRead

See Also

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