Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- type Consume a = Coroutine () a
- consumeEach :: forall b (es :: Effects) r. (forall (e :: Effects). Consume b e -> Eff (e :& es) r) -> Eff es b -> Eff es r
- consumeStream :: forall a (es :: Effects) r. (forall (e :: Effects). Consume a e -> Eff (e :& es) r) -> (forall (e :: Effects). Stream a e -> Eff (e :& es) r) -> Eff es r
- await :: forall (e :: Effects) (es :: Effects) a. e :> es => Consume a e -> Eff es a
Documentation
Consume
allows you to await values during the execution of
a Bluefin operation. It provides similar functionality to
await
from Conduit or Pipes.