haxetink / tink_streams

Streams from the future. With lasers, of course ... whoaaaaa!!!!
The Unlicense
12 stars 9 forks source link

Promise<IdealStream<T>> is not Promise<Stream<T, Noise>> #10

Closed kevinresol closed 6 years ago

kevinresol commented 7 years ago

Try putting a Promise<IdealStream<T>> into Streams.promise then the compiler complains:

tink.streams.IdealStream<tink.streams.IdealStream.Item> should be tink.streams.Stream<tink.Chunk, Unknown<0>>

Annoying 😕