Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NsfwFileSystemWatcherService

Hierarchy

  • NsfwFileSystemWatcherService

Implements

Index

Constructors

constructor

Properties

Protected client

client: undefined | FileSystemWatcherServiceClient

Protected Readonly maybeClient

this.client is undefined until someone sets it.

Protected Readonly options

Protected Readonly watcherHandles

watcherHandles: Map<number, NsfwWatcherHandle> = ...

Protected watcherId

watcherId: number = 0

Protected Readonly watchers

watchers: Map<string, NsfwWatcher> = ...

Methods

Protected createWatcher

Protected debug

  • debug(message: string, ...params: any[]): void

dispose

  • dispose(): void

Protected getWatcherKey

Protected resolveWatchOptions

setClient

unwatchFileChanges

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

watchFileChanges

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