Skip to content

Is it possible to initialize multiple Segment clients? #242

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

Open
remarkablemark opened this issue Jan 31, 2025 · 0 comments
Open

Is it possible to initialize multiple Segment clients? #242

remarkablemark opened this issue Jan 31, 2025 · 0 comments

Comments

@remarkablemark
Copy link

remarkablemark commented Jan 31, 2025

I'm working on a project that connects to multiple Segment sources depending on the brand.

Currently, Segment::init() only allows 1 client to be initialized and if it's call multiple times, it will override the previous one.

Is it possible to initialize multiple Segment clients without having to copy the Segment class to my own project?

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

1 participant