Module

Pinto.Types

#RegistryName

data RegistryName serverType

The name of a registered process, these map to {local, Name} {global, GlobalName} {via, Module, ViaName} as per the docs for gen_server:start_link and similar

Constructors

#StartLinkResult

type StartLinkResult serverProcess = Either (NotStartedReason serverProcess) serverProcess

#NotStartedReason

data NotStartedReason serverProcess

Constructors

Instances

#maybeStarted

maybeStarted :: forall serverProcess. StartLinkResult serverProcess -> Maybe serverProcess

#maybeRunning

maybeRunning :: forall serverProcess. StartLinkResult serverProcess -> Maybe serverProcess

#crashIfNotStarted

crashIfNotStarted :: forall serverProcess. StartLinkResult serverProcess -> serverProcess

#crashIfNotRunning

crashIfNotRunning :: forall serverProcess. StartLinkResult serverProcess -> serverProcess

#startLinkResultFromPs

#registryInstance

registryInstance :: forall serverPid serverType. HasPid serverPid => RegistryReference serverPid serverType -> RegistryInstance serverPid serverType

Given a RegistryReference serverPid serverType

Create a RegistryInstance serverPid serverType that can be used to communicate with that process directly

#RegistryInstance

data RegistryInstance t0 t1

#RegistryReference

data RegistryReference serverPid serverType

A means of looking up a typed process (such as a GenServer) that may or may not be registered

This is typically used by the APIs provided to gain access to the ability to invoke code within the context of a started server

GenServer.call (ByName serverName) \_from a...

Constructors

#ExitMessage

data ExitMessage

Constructors

#parseShutdownReasonFFI

#parseTrappedExitFFI

#ExportsTo

class ExportsTo a b  where

Members

Modules