We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We have an extremely useful Stream.concatAll and Stream.mergeAll functions, but we don't have the same concept for zipping latest values.
Stream.concatAll
Stream.mergeAll
Implement
type ZipLatestAllValues<T extends Array<Stream<unknown, unknown, unknown>>> = { [K in keyof T]: T[K] extends Stream<infer U> ? U : never } type ZipLatestAllErrors<T extends Array<Stream<unknown, unknown, unknown>>> = T extends Array<Stream<unknown, infer E, unknown>> ? E : never; type ZipLatestAllContext<T extends Array<Stream<unknown, unknown, unknown>>> = T extends Array<Stream<unknown, unknown, infer R>> ? R : never; export declare const zipLatestAll: { <A extends Array<Stream<unknown, unknown, unknown>>>(...streams: A): Stream<ZipLatestAllValues<A>, ZipLatestAllErrors<A>, ZipLatestAllContext<A>>; }; // Stream.Stream<[number, string, boolean], never, never> const latest = Stream.zipLatestAll(Stream.make(1,2,3), Stream.make('a','b','c'), Stream.make(true,false))
No response
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
What is the problem this feature would solve?
We have an extremely useful
Stream.concatAll
andStream.mergeAll
functions, but we don't have the same concept for zipping latest values.What is the feature you are proposing to solve the problem?
Implement
What alternatives have you considered?
No response
The text was updated successfully, but these errors were encountered: