|
Language.Haskell.Interpreter.Server |
|
|
|
|
Description |
This module provides a server process (implemented using eprocess) that can receive and run actions in the Interpreter monad.
|
|
Synopsis |
|
|
|
|
Types
|
|
|
The server handle. It's returned on process creation and should be used
afterwards to send messages to it
|
|
|
Functions
|
|
|
Starts the server. Usage:
handle <- start
|
|
|
Stops the server. Usage:
stop serverhandle
|
|
|
|
|
|
|
|
|
:: ServerHandle | The handle of the server that will run the action
| -> IO (Either InterpreterError ()) | The meaningful results are stored in the corresponding mvars
| Runs all the pending actions (those that where run using asyncRunIn. Usage:
flush serverhandle
|
|
|
Produced by Haddock version 2.6.0 |