Skip to content

Conversation

@mchmarny
Copy link
Member

Addresses the concern (#15) that users would create many instances of the client when using the default constructor (potentially expensive operation) by ensuring that the client.NewClient() factory method runs the client creation code only once per lifecycle and returns previously created instance for all subsequent invocation.

@mchmarny mchmarny added the enhancement New feature or request label Jul 23, 2020
@mchmarny mchmarny requested review from amanbha and yaron2 July 23, 2020 19:33
@mchmarny mchmarny closed this Jul 23, 2020
@mchmarny mchmarny deleted the mchmarny-issue-15-once-default-client-constructor branch July 23, 2020 19:34
@mchmarny mchmarny restored the mchmarny-issue-15-once-default-client-constructor branch July 23, 2020 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant