Skip to content

Conversation

@eulerfx
Copy link
Contributor

@eulerfx eulerfx commented Apr 9, 2016

No description provided.

/// Merges two async sequences using the specified combine function. The resulting async sequence produces an element when either
/// input sequence produces an element, passing the new element from the emitting sequence and the previously emitted element from the other sequence.
/// If either of the input sequences is empty, the resulting sequence is empty.
val combineLatestAsync : combine:('T -> 'U -> Async<'V>) -> source1:AsyncSeq<'T> -> source2:AsyncSeq<'U> -> AsyncSeq<'V>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should probably start writing samples for each function in the docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. Adding for this one shortly.

@eulerfx
Copy link
Contributor Author

eulerfx commented Apr 10, 2016

Should this be renamed to combineLatestWith with combineLatest returning a pair?

c0 = f a0 b0
c1 = f a0 b1
c2 = f a1 b1
c4 = f a2 b1
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should be c3, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's correct, thanks.

@eulerfx eulerfx merged commit 2d7f353 into fsprojects:master Apr 12, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants