Skip to main content

create


Nadle / TaskIdentifier / create

Function: create()

create(workspaceIdOrLabel, taskName): string

Defined in: packages/nadle/src/core/models/task-identifier.ts:18

Create a TaskIdentifier from a workspace ID/label and a task name.

Parameters​

workspaceIdOrLabel​

string

The workspace ID or label (empty string for root workspace).

taskName​

string

The name of the task.

Returns​

string

The composed TaskIdentifier string.