Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Transform.run

Transform.run([{ waitForFinish, signal }]) → Promise<Transform>

Runs the transform, and (by default) waits for the run to finish, throwing a JobError if it fails.

Parameters:

waitForFinish : boolean, default true Whether to wait for the run to finish.

signal : AbortSignal, optional Stops waiting for the run to finish. This doesn't cancel the run; use cancel() for that.

Returns: Promise<Transform>, this transform.

Was this helpful?