Module

Effect.Aff.Throttler

Package
purescript-aff-throttler
Repository
LiamGoodacre/purescript-aff-throttler

#Throttler Source

data Throttler :: Type -> Type -> Type

#new Source

new :: forall y x output input. (Fiber input -> Aff x) -> (Fiber x -> Aff y) -> (Fiber y -> Aff output) -> Aff (Throttler input output)

#run Source

run :: forall output input. Throttler input output -> Aff input -> Aff (Fiber output)

#runSimple Source

runSimple :: forall output. Throttler Unit output -> Aff (Fiber output)

#kill Source

kill :: forall output input. Error -> Throttler input output -> Aff Unit