Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- wsHandler :: forall t env. (ContractInstanceId -> PendingConnection -> PABAction t env ()) :<|> (PendingConnection -> PABAction t env ())
- combinedWebsocket :: forall t env. PendingConnection -> PABAction t env ()
- contractInstanceUpdates :: forall t env. ContractInstanceId -> PendingConnection -> PABAction t env ()
- getContractReport :: forall t env. PABContract t => PABAction t env (ContractReport (ContractDef t))
- openEndpoints :: InstanceState -> STMStream [ActiveEndpoint]
- slotChange :: BlockchainEnv -> STMStream Slot
- observableStateChange :: InstanceState -> STMStream Value
Documentation
wsHandler :: forall t env. (ContractInstanceId -> PendingConnection -> PABAction t env ()) :<|> (PendingConnection -> PABAction t env ()) Source #
Handler for WSAPI
combinedWebsocket :: forall t env. PendingConnection -> PABAction t env () Source #
contractInstanceUpdates :: forall t env. ContractInstanceId -> PendingConnection -> PABAction t env () Source #
Reports
getContractReport :: forall t env. PABContract t => PABAction t env (ContractReport (ContractDef t)) Source #
Streams of PAB events
openEndpoints :: InstanceState -> STMStream [ActiveEndpoint] Source #
slotChange :: BlockchainEnv -> STMStream Slot Source #
observableStateChange :: InstanceState -> STMStream Value Source #