Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FileSystemWatcherServerClient

Wraps the NSFW singleton service for each frontend.

Hierarchy

  • FileSystemWatcherServerClient

Implements

Index

Constructors

Properties

clientId: number = ...
todo

make this number precisely map to one specific frontend.

watcherIds: Set<number> = ...

Track allocated watcherIds to de-allocate on disposal.

watcherService: FileSystemWatcherService
clientIdSequence: number = 0

Methods

  • dispose(): void
  • unwatchFileChanges(watcherId: number): Promise<void>
  • watchFileChanges(uri: string, options?: WatchOptions): Promise<number>