Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface FileSystemWatcherService

Singleton implementation of the watch server.

Since multiple clients all make requests to this service, we need to track those individually via a clientId.

Hierarchy

Index

Methods

dispose

  • dispose(): void
  • Dispose this object.

    Returns void

Optional getClient

  • Returns undefined | FileSystemWatcherServiceClient

setClient

  • If this server is a proxy to a remote server then a client is used as a local object to handle JSON-RPC messages from the remote server.

    Parameters

    Returns void

unwatchFileChanges

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

watchFileChanges

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