Thread:start

Edit

Starts the Thread.

Thread:start(...arguments)

Arguments

NameTypeDescription
...arguments* Up to 4 arguments to pass to the Thread's function.

Returns

Nothing

Notes

The arguments can be nil, booleans, numbers, strings, or LÖVR objects.

Example

function lovr.load()
  lovr.thread.newThread([[
    print(...)
  ]]):start(lovr.getVersion())
end

See also