Task.setStaticName

void setStaticName(string name = null)

Sets task’s name, used in debugging and profiling.

This is a variant of [gio.task.Task.setName] that avoids copying name.

Parameters

namea human readable name for the task. Must be a string literal