Support ObservableInput consistently as the return type for selector fns (like delayWhen) #6972
jollytoad
started this conversation in
Ideas / Feature request
Replies: 1 comment 3 replies
-
Core Team: |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Some operators such as
bufferWhen
,windowWhen
,audit
allow their selector fn to return anObservableInput
which really helps with interop with native JS features, such as Promises, Iterables/AsyncIterables etc.But the
delayWhen
delayDurationSelector fn must return anObservable
, it would really help if this was alsoObservableInput
. I'm not sure if this is intentional (I don't understand why it would be), or an oversight. I'm not sure if this is the case elsewhere, but it would certainly help if it was consistent across all selector fns.Beta Was this translation helpful? Give feedback.
All reactions