Module

Sparrow.Client.Types

Package
purescript-sparrow
Repository
athanclark/purescript-sparrow

This module defines the programming environment required to run a sparrow client. This module should be considered internal w.r.t. the sparrow protocol.

#Env Source

type Env = { receiveQueue :: IxQueue (read :: READ, write :: WRITE) Json, rejectQueue :: IxQueue (read :: READ, write :: WRITE) Unit, sendDeltaIn :: WSIncoming (WithTopic Json) -> Effect Unit, sendInitIn :: Topic -> Json -> Aff (Maybe Json) }

#registerSubscription Source

#removeSubscription Source

#callReject Source

#callOnReceive Source