Module
Pinto.Types
- Package
- erl-pinto
- Repository
- id3as/purescript-erl-pinto
#ServerName Source
data ServerName state msg
Defines the server name for a gen server, along with the 'state' that the gen server will be using internally and the 'msg' type that will be received in the handleInfo calls this will be supplied to every call to the gen server API in order to enforce type safety across calls
Constructors
#GlobalName Source
data GlobalName :: Type
#SupervisorName Source
type SupervisorName = ServerName Unit Unit
#StartLinkResult Source
#StartChildResult Source
data StartChildResult
The result of invoking gen_server:start_link
Constructors
ChildStarted Pid
ChildStartedWithInfo Pid Foreign
ChildAlreadyStarted Pid
ChildAlreadyPresent
ChildFailed Foreign
Instances
#ChildTemplate Source
data ChildTemplate args
The type used to link startSimpleChild and startTemplate together
Constructors
ChildTemplate (args -> Effect StartLinkResult)