{{newin|[[0.9.0]]|090|type=function}}
Send a message to the thread Channel and wait for a thread to accept it.

See [[Variant]] for the list of supported types.
== Function ==
=== Synopsis ===
<source lang="lua">
success = Channel:supply( value )
</source>
=== Arguments ===
{{param|Variant|value|The contents of the message.}}
=== Returns ===
{{New feature|11.0|
{{param|boolean|success|Whether the message was successfully supplied (always <code>true</code>).}}
|110}}

== Function ==
{{newin|[[11.0]]|110|type=variant}}
=== Synopsis ===
<source lang="lua">
success = Channel:supply( value, timeout )
</source>
=== Arguments ===
{{param|Variant|value|The contents of the message.}}
{{param|number|timeout|The maximum amount of time to wait.}}
=== Returns ===
{{param|boolean|success|Whether the message was successfully supplied before the timeout expired.}}
== See Also ==
* [[parent::Channel]]
* [[Channel:demand]]
* [[Channel:push]]
[[Category:Functions]]
{{#set:Description=Send a message to a thread Channel and wait for a thread to accept it.}}
== Other Languages ==
{{i18n|Channel:supply}}