Module
SodiumFRP.Class
- Package
- purescript-sodium
- Repository
- SodiumFRP/purescript-sodium
#StreamSink Source
data StreamSink :: Type -> Type
Instances
#SodiumStream Source
#newStreamSink Source
newStreamSink :: forall a. Maybe (a -> a -> a) -> Effect (StreamSink a)
StreamSinks can be used to send events The optional value is merging function
#newStreamLoop Source
newStreamLoop :: forall a. Effect (StreamLoop a)
A forward reference for a 'Stream' equivalent to the Stream that is referenced. Must be run in an explicit Transaction
#SodiumCell Source
#newCellLoop Source
newCellLoop :: forall a. Effect (CellLoop a)
A forward reference for a 'Cell' equivalent to the Cell that is referenced. Must be run in an explicit Transaction
#Listenable Source
class Listenable l where
Listen for firings of this cell or event. The returned Effect is a function that unregisteres the listener This is the observer pattern.