Skip to content

Use context.Context for configurable timeouts#12

Merged
fortytw2 merged 4 commits intomasterfrom
context-cancellation
May 17, 2017
Merged

Use context.Context for configurable timeouts#12
fortytw2 merged 4 commits intomasterfrom
context-cancellation

Conversation

@fortytw2
Copy link
Owner

@fortytw2 fortytw2 commented May 13, 2017

In which "I'll give it a shot later today" means "I'll give it a shot in 6 months"

Takes @lukechampine's recommendation from #11 (comment) (which this PR supersedes)

Adds CheckTimeout and CheckContext, might need more thorough testing, but everything seems good for now.

Closes #5

@fortytw2 fortytw2 self-assigned this May 13, 2017
@fortytw2 fortytw2 force-pushed the context-cancellation branch from 9a101ae to f2dc551 Compare May 13, 2017 13:12
@fortytw2 fortytw2 merged commit 7dad533 into master May 17, 2017
@fortytw2 fortytw2 deleted the context-cancellation branch May 17, 2017 13:08
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.

1 participant