Exmld.flow

You're seeing just the function flow, go back to Exmld module for more information.
Link to this function

flow(flow, extract_items_fn, partition_key, state0, process_fn, opts \\ [])

View Source

Specs

flow(
  flow :: Flow.t(),
  extract_items_fn :: (Exmld.KinesisWorker.Datum -> [item()]),
  partition_key ::
    {:elem, non_neg_integer()} | {:key, atom()} | (item() -> partition_key()),
  state0 :: (() -> reducer_state()),
  process_fn :: (item(), reducer_state() -> reducer_state()),
  opts :: keyword()
) :: Flow.t()

Accepts a flow producing Exmld.KinesisWorker.Datums (e.g,. a flow created from Exmld.KinesisStages) and returns another flow.