raketka-1.1.1: basic distributed-process node with configurable peers

Safe HaskellNone
LanguageHaskell2010

Control.Distributed.Raketka.Type.Server

Synopsis

Documentation

type Content tag ps s c = (PeerInfo ps, Specific tag ps s c, Serializable c, Show c) Source #

constraint type

c is Message content type, implementation-specific

class Specific tag ps s c | tag -> ps, tag -> s, tag -> c where Source #

methods in this instance are called in library, defined in the program (this or another program that consumes this library)

see example implementation in Control.Distributed.Raketka.Impl.Inst

Control.Distributed.Raketka.Impl.Inst is part of the package, is not displayed in docs because it is part of a program, not the library.

see also Main.hs there is important code there

c is Message content type, implementation-specific

passTag :: Tagged a b -> c -> Tagged a c Source #

pass tag between different types

data Server ps s Source #

Constructors

Server 

Fields

la :: STM a -> Process a Source #