WICG / observable

Observable API proposal
https://wicg.github.io/observable/
Other
543 stars 12 forks source link

Spec the `first()` operator #131

Closed domfarolino closed 2 months ago

domfarolino commented 3 months ago

Closes https://github.com/WICG/observable/issues/65 and makes progress on https://github.com/WICG/observable/issues/126.


Preview | Diff

domfarolino commented 2 months ago

@benlesh I'm thinking it would be nice to make first() and last() consistent with find() in the case where an Observable completes before emitting any values. See https://github.com/WICG/observable/pull/137#discussion_r1576656191. What do you think?