Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data MaestroEnv (v ∷ MaestroApiVersion) = MaestroEnv {
- maeClientEnv ∷ !ClientEnv
- maeToken ∷ !MaestroToken
- maeBaseDelay ∷ !(Maybe Int)
- maeMaxDelay ∷ !(Maybe Int)
- data MaestroNetwork
- data MaestroApiVersion
- mkMaestroEnv ∷ ∀ (apiVersion ∷ MaestroApiVersion). SingMaestroApiVersionI apiVersion ⇒ MaestroToken → MaestroNetwork → Maybe (Int, Int) → IO (MaestroEnv apiVersion)
- defaultBackoff ∷ Maybe (Int, Int)
Documentation
data MaestroEnv (v ∷ MaestroApiVersion) #
MaestroEnv | |
|
data MaestroApiVersion #
Instances
Show MaestroApiVersion # | |
Defined in Maestro.Client.Env showsPrec ∷ Int → MaestroApiVersion → ShowS # show ∷ MaestroApiVersion → String # showList ∷ [MaestroApiVersion] → ShowS # |
mkMaestroEnv ∷ ∀ (apiVersion ∷ MaestroApiVersion). SingMaestroApiVersionI apiVersion ⇒ MaestroToken → MaestroNetwork → Maybe (Int, Int) → IO (MaestroEnv apiVersion) #
defaultBackoff ∷ Maybe (Int, Int) #
Base delay & maximum waiting in microseconds corresponding to maeBaseDelay
, maeMaxDelay
respectively. See description of maeBaseDelay
& maeMaxDelay
for more information.