Module

Perspectives.Api

#createRequestEmitter

#setupApi

setupApi :: MonadPerspectives Unit

Create a process that consumes requests from a producer fed by the user interface.

#setupTcpApi

setupTcpApi :: MonadPerspectives Unit

Create a process that consumes requests from a producer that connects to a source over TCP.

#ReactStateSetter

#QueryUnsubscriber

#sendResponse

sendResponse :: Response -> ApiEffect -> MonadPerspectives Unit

Apply an ApiEffect to a Response, in effect sending it through the API to the caller.

Modules