lovr.thread.newChannel

Edit

Creates a new unnamed Channel object. Usually it's more convenient to use lovr.thread.getChannel, since other threads can use that function to query the channel by name. Unnamed channels don't require a unique name, but they need to be sent to other threads somehow (e.g. on a different Channel or as an argument to Thread:start).

channel = lovr.thread.newChannel()

Arguments

None

Returns

NameTypeDescription
channelChannel The new Channel.

See also