withLatestFrom
Merges the specified observable sequences into one observable sequence by using the selector function only when the source observable sequence (the instance) produces an element. The other observables can be in the form of an argument list of observables or an array.
Arguments
args
(arguments | Array): An array or arguments of Observable sequences.resultSelector
(Function
): Function to invoke when the instance source observable produces an element.
Returns
(Observable
): An observable sequence containing the result of combining elements of the sources using the specified result selector function.
Example
Last updated
Was this helpful?