haskell-tools-daemon-1.1.0.2: Background process for Haskell-tools that editors can connect to.

Safe HaskellNone
LanguageHaskell2010

Language.Haskell.Tools.Daemon.Update

Description

Resolves how the daemon should react to individual requests from the client.

Synopsis

Documentation

updateClient :: DaemonOptions -> MVar [Marker] -> [RefactoringChoice] -> [QueryChoice] -> (ResponseMsg -> IO ()) -> ClientMessage -> DaemonSession Bool Source #

This function does the real job of acting upon client messages in a stateful environment of a client.

updateForFileChanges :: (ResponseMsg -> IO ()) -> MVar [Marker] -> [FilePath] -> [FilePath] -> [FilePath] -> DaemonSession () Source #

Updates the state of the tool after some files have been changed (possibly by another application)