ReadonlycurrentThe item in front of the feed when this handle was taken: right after the
screen opens, its first item; undefined when the first page holds none (the
next swipe brings the first that loads). A later swipe does not change it on
this handle.
ReadonlystreamA swipeable feed's stream, which replaces the plain feed's: the feed is
walked by swipes, as the app does — the items that come in front, starting
with the item in front when the stream starts, then one swipeToNext per
pull (sending what each swipe sends, the next page requested on the swipe
the threshold names), to the feed's end. Each item that comes in front
enters its visit; the swipe ends the previous visit. Generic code that
reads stream on a swipeable feed therefore swipes; the raw pages of a
swipeable feed are nextPage by hand. Nothing runs until it is consumed;
stopping, take or a failure makes no swipe beyond the last pulled item.
ReadonlyswipeSwipes to the next item, as the person does: answers the item now in front,
or undefined at the end of the feed, a normal result. It moves on from
where the process is, whichever handle it is called on, and requests the next
page itself on the swipe the screen's threshold names.
The members a swipeable feed's handle gets besides a feed's:
current, the item in front (right after the screen opens: its first item;undefinedwhen the first page holds none — the next swipe brings the first that loads), andswipeToNext, the swipe, which returns the item now in front —undefinedat the end of the feed, a normal result — crossing page boundaries itself: the swipe the screen's threshold names requests the next page. A handle is a snapshot: itscurrentstays the item that was in front when it was taken, whileswipeToNextalways moves on from where the process is.