Skip to content
This repository has been archived by the owner on May 26, 2022. It is now read-only.

change OpenStream to accept a context #189

Merged
merged 1 commit into from
Dec 19, 2020
Merged

Conversation

marten-seemann
Copy link
Collaborator

func (c *conn) OpenStream() (mux.MuxedStream, error) {
qstr, err := c.sess.OpenStreamSync(context.Background())
func (c *conn) OpenStream(ctx context.Context) (mux.MuxedStream, error) {
qstr, err := c.sess.OpenStreamSync(ctx)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!

@marten-seemann marten-seemann marked this pull request as ready for review December 19, 2020 03:21
@marten-seemann marten-seemann force-pushed the open-stream-context branch 3 times, most recently from 387a953 to 7128e9f Compare December 19, 2020 03:40
@marten-seemann marten-seemann merged commit 0b4a78f into master Dec 19, 2020
@marten-seemann marten-seemann deleted the open-stream-context branch December 19, 2020 03:53
@aschmahmann aschmahmann mentioned this pull request Feb 18, 2021
73 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants