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

Use context.CancelFunc instead of func() #257

Merged
merged 1 commit into from
Oct 26, 2021
Merged

Conversation

masih
Copy link
Member

@masih masih commented Oct 26, 2021

Where context cancellation function is referenced in struct types use
existing context.CancelFunc to represent.

Fixes #223

Where context cancellation function is referenced in struct types use
existing `context.CancelFunc` to represent.

Fixes #223
@masih masih merged commit b1d455e into main Oct 26, 2021
@masih masih deleted the masih/ctx-cancel-func branch October 26, 2021 14:17
rvagg pushed a commit that referenced this pull request Oct 26, 2021
Where context cancellation function is referenced in struct types use
existing `context.CancelFunc` to represent.

Fixes #223
rvagg pushed a commit that referenced this pull request Oct 26, 2021
Where context cancellation function is referenced in struct types use
existing `context.CancelFunc` to represent.

Fixes #223
@aschmahmann aschmahmann mentioned this pull request Dec 1, 2021
80 tasks
marten-seemann pushed a commit that referenced this pull request Mar 2, 2023
* feat: do-not-send-first-blocks

* refactor: move received blocks total onto channel state

* fix: record stream protocol on stream open
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.

Use context.CancelFunc for cancel functions.
2 participants