agda-language-server-0.2.6.2.2: An implementation of language server protocal (LSP) for Agda 2.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Server.ResponseController

Description

Makes sure that all dispatched works are done. Notify when all dispatched works are done.

Synopsis

Documentation

new :: IO ResponseController Source #

Constructs a new ResponseController

dispatch :: ResponseController -> IO (() -> IO ()) Source #

Returns a callback, invoked the callback to signal completion. This function and the returned callback are both non-blocking.

setCheckpointAndWait :: ResponseController -> IO () Source #

The blocking version of setCheckpoint