Options
All
  • Public
  • Public/Protected
  • All
Menu

Class DisplayHandleManager

Hierarchy

  • DisplayHandleManager

Implements

  • IDisposable

Index

Constructors

Protected constructor

Properties

Private _isDisposed

_isDisposed: boolean = false

Private _onHandleUpdated

_onHandleUpdated: Observable<IRenderData>

Private idToName

idToName: Map<string, string> = new Map<string, string>()

Private onHandleUpdatedSrc$

onHandleUpdatedSrc$: Subject<IRenderData> = new Subject<DisplayHandle.IRenderData>()

Private session

session: IClientSession

Static Private Outputs

Outputs: AttachedProperty<IClientSession, null | DisplayHandleManager> = new AttachedProperty<IClientSession, DisplayHandleManager | null>({name: "DisplayOutputs",create: () => null,changed: (_, oldValue) => {if (oldValue && !oldValue.isDisposed) {oldValue.dispose();}},})

Accessors

isDisposed

  • get isDisposed(): boolean

onHandleUpdated

Methods

createHandle

  • createHandle(name: string, registry: IRenderMimeRegistry, sanitizer: ISanitizer): DisplayHandle

Private destroyKernelHooks

  • destroyKernelHooks(kernel: IKernel): void

dispose

  • dispose(): void

getAllNamedHandles

  • getAllNamedHandles(): IterableIterator<string>

Private onKernelChanged

  • onKernelChanged(_: unknown, __namedParameters: object): void

Private onKernelMsg

  • onKernelMsg(kernel: IKernel, msg: IIOPubMessage): void

registerIdForName

  • registerIdForName(id: string, name: string): void

Private setupKernelHooks

  • setupKernelHooks(kernel: IKernel): void

Static GetManager

Generated using TypeDoc