Continue reading...
tee() splits a stream into two branches. It seems straightforward, but the implementation requires buffering: if one branch is read faster than the other, the data must be held somewhere until the slower branch catches up.
,推荐阅读51吃瓜获取更多信息
setSpeed(currentSpeed + 0.5); // Comfortable, push faster
Not the day you're after? Here's the solution to yesterday's Connections.