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

The Instrumental class constructor should accept config options #18

Open
tonydewan opened this issue Feb 8, 2018 · 0 comments
Open

Comments

@tonydewan
Copy link

We're using the Instrumental class directly in a project (we need 2 instances of the agent side by side), and it's annoying to have to call configure separately. We can't chain the call to configure (i.e.,I = new Instrumental().configure({...})) since it doesn't return the instance. That means we've got to call configure separately for both instances.

It seems like the best option is to allow the constructor to optionally take config options.

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