Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface StreamOptions

Configuration object for the stream

Hierarchy

  • StreamOptions

Index

Properties

batchSize

batchSize: number

How many elements of data is processed at same time

interval

interval: number

How often the stream processes the data it has

repeat

repeat: boolean | number | StreamContinueHandler

Set to true to repeat the stream infinitely. Set to false to only continue until the stream has no data. Set to a number to get n batches of the data. Set to call back function to continue the stream until the callback returns false. Leaving the value as undefined repeats the stream infinitely.