Class/Object

polynote.kernel.remote

RemoteNotebookRef

Related Docs: object RemoteNotebookRef | package remote

Permalink

class RemoteNotebookRef extends NotebookRef

A NotebookRef implementation used on the remote client. Because its updates come only from the server, it doesn't do any versioning logic, and it ignores results and other operations. It just updates the notebook with the transport's update stream.

TODO: should separate into two interfaces, to ensure Kernel isn't using the other methods?

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RemoteNotebookRef
  2. NotebookRef
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addResult(cellID: CellID, result: Result): UIO[Unit]

    Permalink

    Append a Result to the given cell of the notebook

    Append a Result to the given cell of the notebook

    Definition Classes
    RemoteNotebookRefNotebookRef
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def awaitClosed: Task[Unit]

    Permalink

    Wait for the ref to be closed.

    Wait for the ref to be closed. Succeeds with Unit if the ref closes normally; fails with error otherwise

    Definition Classes
    RemoteNotebookRefNotebookRef
  7. def clearAllResults(): IO[AlreadyClosed, List[CellID]]

    Permalink

    Clear results from all cells of the notebook, and return a list of CellIDs whose results were modified

    Clear results from all cells of the notebook, and return a list of CellIDs whose results were modified

    Definition Classes
    RemoteNotebookRefNotebookRef
  8. def clearResults(cellID: CellID): UIO[Unit]

    Permalink

    Clear results from the given cell of the notebook

    Clear results from the given cell of the notebook

    Definition Classes
    RemoteNotebookRefNotebookRef
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Task[Unit]

    Permalink

    Close the notebook.

    Close the notebook.

    Definition Classes
    RemoteNotebookRefNotebookRef
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get: UIO[Notebook]

    Permalink

    Return the latest notebook

    Return the latest notebook

    Definition Classes
    NotebookRef
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. def getVersioned: UIO[(Int, Notebook)]

    Permalink

    Return the latest version and notebook

    Return the latest version and notebook

    Definition Classes
    RemoteNotebookRefNotebookRef
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. val isOpen: UIO[Boolean]

    Permalink
    Definition Classes
    RemoteNotebookRefNotebookRef
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def path: UIO[String]

    Permalink
    Definition Classes
    NotebookRef
  24. def rename(newPath: String): RIO[BaseEnv with GlobalEnv, String]

    Permalink
    Definition Classes
    RemoteNotebookRefNotebookRef
  25. def set(versioned: (Int, Notebook)): UIO[Unit]

    Permalink
  26. def set(notebook: Notebook): UIO[Unit]

    Permalink
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  28. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  29. def update(update: NotebookUpdate): IO[AlreadyClosed, Unit]

    Permalink

    Apply a notebook update.

    Apply a notebook update. If this NotebookRef is responsible for versioning, the version is incremented. The update may not be applied immediately; use updateAndGet to block until the update has been applied.

    Definition Classes
    RemoteNotebookRefNotebookRef
  30. def updateAndGet(update: NotebookUpdate): IO[AlreadyClosed, (Int, Notebook)]

    Permalink

    Apply a notebook update and return the new version and notebook.

    Apply a notebook update and return the new version and notebook. If this NotebookRef is responsible for versioning, the version is incremented.

    Definition Classes
    RemoteNotebookRefNotebookRef
  31. def updates: ZStream[Any, Nothing, NotebookUpdate]

    Permalink

    Get a stream of notebook updates

    Get a stream of notebook updates

    Definition Classes
    RemoteNotebookRefNotebookRef
  32. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from NotebookRef

Inherited from AnyRef

Inherited from Any

Ungrouped