Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the number of operators in pipeline dynamically #628

Open
AndrejAlpatov opened this issue Mar 7, 2022 · 2 comments
Open

Change the number of operators in pipeline dynamically #628

AndrejAlpatov opened this issue Mar 7, 2022 · 2 comments

Comments

@AndrejAlpatov
Copy link

Hello. I would like to know if it is possible to change the number of operators in the pipeline depending on the size of the array with the functions that I want to pass to this pipeline (in map operator).

@AndrejAlpatov AndrejAlpatov changed the title Change the number of operators dynamically Change the number of operators in pipeline dynamically Mar 7, 2022
@dbrattli
Copy link
Collaborator

Could you please provide an example?

@Kroppeb
Copy link

Kroppeb commented Jan 16, 2025

You can use Python unpacking like this observable.pipe(*ops) if ops is a list of operators.
Is this what you want?

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

No branches or pull requests

3 participants