async-std icon indicating copy to clipboard operation
async-std copied to clipboard

add stream::peekable

Open starsheriff opened this issue 6 years ago • 3 comments

Currently everything is breaking. I am still trying to figure out the type. I guess that peek should return a Future

pub fn peak(&mut self) -> &PeekFuture<Option<Self::Item>>

ref #129

starsheriff avatar Oct 17 '19 21:10 starsheriff

@starsheriff ping; just checking in if there's anything we can do to help unblock you. I'd very much would like to see this PR land!

yoshuawuyts avatar Oct 28 '19 11:10 yoshuawuyts

@starsheriff ping; just checking in if there's anything we can do to help unblock you. I'd very much would like to see this PR land!

The comments I got helped a lot already. Haven't had the time the last days to work on it but will pick it up again now. I will ask if I need more help.

starsheriff avatar Oct 28 '19 15:10 starsheriff

@starsheriff The peek seem to be diffcult to impl. And if things are async, I think the peek is not very useful.

yjhmelody avatar Nov 18 '19 03:11 yjhmelody