Skip to content

Conversation

@raqbit
Copy link
Owner

@raqbit raqbit commented Jul 24, 2021

With the new Options added by #8, the NewContext & NewTimeout constructor became redundant.

This PR deprecates the NewContext & NewTimeout APIs, updates examples and re-implements the deprecated functions using their respective options.

Callers should use WithContext & WithTimeout options instead
@raqbit raqbit force-pushed the deprecate-alternate-constructors branch from e478ebc to 106a6d0 Compare July 24, 2021 18:43
@raqbit raqbit merged commit 4d75242 into master Jul 24, 2021
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.

2 participants