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

Notebook.run

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

Runs the notebook, 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 stop the run; use stop() for that.

Returns: Promise<Notebook>, this notebook.

Was this helpful?