distributed-process-fsm-0.0.1: The Cloud Haskell implementation of Erlang/OTP gen_statem

Copyright(c) Tim Watson 2017
LicenseBSD3 (see the file LICENSE)
MaintainerTim Watson <watson.timothy@gmail.com>
Stabilityexperimental
Portabilitynon-portable (requires concurrency)
Safe HaskellNone
LanguageHaskell98

Control.Distributed.Process.FSM.Internal.Process

Description

The Managed Process implementation of an FSM process.

See Control.Distributed.Process.ManagedProcess.

Synopsis

Documentation

start :: forall s d. (Show s, Eq s) => s -> d -> Step s d -> Process ProcessId Source #

Start an FSM process

run :: forall s d. (Show s, Eq s) => s -> d -> Step s d -> Process () Source #

Run an FSM process. NB: this is a managed process listen-loop and will not evaluate to its result until the server process stops.