transient-universe-0.6.0.1: fully composable remote execution for the creation of distributed systems

Safe HaskellNone
LanguageHaskell2010

Transient.Move.Services.Executor

Synopsis

Documentation

networkExecute :: String -> String -> Cloud String Source #

execute a command in some node by an executor service, and return the result when the program finishes

networkExecuteStream' :: String -> Cloud String Source #

execute a process in some machine trough the local monitor and the executor. This call return a process identifier The process can be controlled with other services like controlNodeProcess

networkExecuteStream :: String -> Cloud String Source #

execute a shell command in some node using the executor service. The response is received as an stream of responses, one per line

sendExecuteStream :: String -> String -> Cloud () Source #

send a message that will be read by the standard input of the program initiated by networkExecuteStream, identified by the command line. the stream of responses is returned by that primitive. sendExecuteStream never return anything, since it is asynchronous

nodeForProcess :: String -> Cloud Node Source #

get the executor that executes a process