Parameters
RootAuthoringSettings
required
The pipeline boundary. Unlike work-node constructors,
root has no name argument.AuthoringIdOptions
default:"{}"
Optional identity override.
Returns
AuthoredRootNode
Add this node to the pipeline’s
nodes array.root function also has root.started and root.completed ports targeting the default ID "root". When overriding the ID, use the returned node’s ports.
Throws
Throws a local error whensettings is not an object. Pass root({ started, completed }), without a name argument.