Thread.start

Starts a new Thread that runs "method" on object "instance" with "userdata" passed as an argument. The "priority" of the Thread can be changed by passing a PRIORITY_* enum. Returns OK on success, or ERR_CANT_CREATE on failure.

struct Thread
@nogc nothrow
GodotError
start
(
StringArg1
VariantArg2
)
(,
in StringArg1 method
,
in VariantArg2 userdata = Variant.nil
,
in long priority = 1
)

Meta