Module
Presto.Core.Flow  
- Package
- purescript-presto
- Repository
- juspay/purescript-presto
Re-exports from Presto.Core.Language.Runtime.API    
#runAPIInteraction Source
runAPIInteraction :: forall eff. APIRunner -> NaturalTransformation Interaction (Aff eff)Re-exports from Presto.Core.Language.Runtime.Interpreter    
#PermissionTakeRunner Source
type PermissionTakeRunner = forall e. Array Permission -> Aff (storage :: STORAGE | e) (Array PermissionResponse)#PermissionCheckRunner Source
type PermissionCheckRunner = forall e. Array Permission -> Aff (storage :: STORAGE | e) PermissionStatus#run Source
run :: forall eff. Runtime -> NaturalTransformation Flow (InterpreterSt eff)Re-exports from Presto.Core.Types.Language.Flow    
#Flow Source
type Flow a = Free FlowWrapper aFree monadic language for making flows.
#set Source
set :: forall s. Serializable s => Key -> s -> Flow UnitSerializes a value and puts it into the state.
#save Source
save :: forall s. Serializable s => Key -> s -> Flow UnitSerializes a value and puts it into the local storage.
#load Source
load :: forall s. Serializable s => Key -> Flow (Maybe s)Gets some data from local storage and deserializes to s if possible.
#get Source
get :: forall s. Serializable s => Key -> Flow (Maybe s)Gets some data from state and deserializes to s if possible.
#delay Source
delay :: Milliseconds -> Flow UnitDelays computation for a given number of milliseconds.
Re-exports from Presto.Core.Types.Language.Interaction    
#Interaction Source
type Interaction s = Free InteractionF sFree monadic Interaction type. Denotes a request-response interaction.
#defaultInteract Source
defaultInteract :: forall b a. Encode a => Decode b => a -> Interaction (Either Error b)Re-exports from Presto.Core.Types.Language.Storage    
- Modules
- Presto.Core. Flow 
- Presto.Core. Language. Runtime. API 
- Presto.Core. Language. Runtime. Interpreter 
- Presto.Core. LocalStorage 
- Presto.Core. Operators 
- Presto.Core. Types. API 
- Presto.Core. Types. App 
- Presto.Core. Types. Language. APIInteract 
- Presto.Core. Types. Language. Flow 
- Presto.Core. Types. Language. Interaction 
- Presto.Core. Types. Language. Storage 
- Presto.Core. Types. Permission 
- Presto.Core. Utils. Encoding