Function 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 value from the priority enum. Returns constant OK on success, or constant ERR_CANT_CREATE on failure.

GodotError start(VariantArg2) (
  GodotObject instance,
  in String method,
  in VariantArg2 userdata = Variant.nil,
  in long priority = 1
);