Skip to content

Commit

Permalink
Document Stream
Browse files Browse the repository at this point in the history
  • Loading branch information
tomjaguarpaw committed Mar 23, 2024
1 parent c774265 commit d859eda
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion bluefin/src/Bluefin/Stream.hs
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
module Bluefin.Stream
( -- * Handle
( -- | 'Stream' allows you to yield values during the execution of a
-- Bluefin operation. It provides similar functionality to
-- Python's @yield@. The handler of the 'Stream' will either
-- handle each element as soon as it is yielded (for example
-- 'forEach') or gather all yielded elements int o a list (for
-- example 'yieldToList').

-- * Handle
Stream,
-- * Handlers
forEach,
Expand Down

0 comments on commit d859eda

Please sign in to comment.