Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReconnectingFileSystemWatcherServer

deprecated

not used internally anymore.

Hierarchy

  • ReconnectingFileSystemWatcherServer

Implements

Index

Constructors

constructor

Properties

Protected Readonly localToRemoteWatcher

localToRemoteWatcher: Map<number, number> = ...

Protected Readonly proxy

proxy: JsonRpcProxy<FileSystemWatcherServer>

Protected Readonly watchParams

watchParams: Map<number, { options?: WatchOptions; uri: string }> = ...

Protected watcherSequence

watcherSequence: number = 1

Methods

dispose

  • dispose(): void

Protected doWatchFileChanges

  • doWatchFileChanges(watcher: number, uri: string, options?: WatchOptions): Promise<number>

Protected reconnect

  • reconnect(): void

setClient

unwatchFileChanges

  • unwatchFileChanges(watcher: number): Promise<void>

watchFileChanges

  • watchFileChanges(uri: string, options?: WatchOptions): Promise<number>