docs-v2/content/flux/v0/stdlib/internal/debug/slurp.md

1.6 KiB

title description menu weight
debug.slurp() function `debug.slurp()` will read the incoming tables and concatenate buffers with the same group key into a single in memory table buffer. This is useful for testing the performance impact of multiple buffers versus a single buffer.
flux_v0_ref
name parent identifier
debug.slurp internal/debug internal/debug/slurp
201

debug.slurp() will read the incoming tables and concatenate buffers with the same group key into a single in memory table buffer. This is useful for testing the performance impact of multiple buffers versus a single buffer.

Function type signature
(<-tables: stream[A]) => stream[A] where A: Record

{{% caption %}} For more information, see Function type signatures. {{% /caption %}}

Parameters

tables

Stream to consume into single buffers per table.