Skip to content

Conversation

mdbenito
Copy link

This PR adds support for startWith and endWith.

The implementation allows for an arbitrary number of values to be passed as args, as in

(->> (rx/from [3 4])
        (rx/start-with 1 2))

to produce [1 2 3 4]

I thought this to be more convenient than always taking an array of values, since the typical use case is (start-with val ob) with just one value.

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.

1 participant