Interface GitWatcherServer

Service representation communicating between the backend and the frontend.

interface GitWatcherServer {
    unwatchGitChanges(watcher): Promise<void>;
    watchGitChanges(repository): Promise<number>;
}

Hierarchy

Implemented by

Methods

  • De-registers any previously added watchers identified by the unique watcher argument. If the watcher cannot be found with its unique ID, the request will be rejected.

    Parameters

    • watcher: number

    Returns Promise<void>