comments method

Stream<Comment?> comments({
  1. int? limit,
  2. int? pauseAfter,
})

Yields new Comments as they become available.

Comments are yielded oldest first. Up to 100 historical comments will initially be returned. If limit is provided, the stream will close after limit iterations. If pauseAfter is provided, null will be returned after pauseAfter requests without new items.

Implementation

Stream<Comment?> comments({int? limit, int? pauseAfter}) =>
    streamGenerator<Comment>(_subreddit.comments,
        itemLimit: limit, pauseAfter: pauseAfter);