Skip to content

Support context #8

Description

@tejasmanohar

Even though the standard library's net/rpc doesn't support contexts, we should because they're getting more popular and others have asked for it. The big question is-- Should we have a Context suffixed method for every RPC endpoint, or should we make a breaking change and have context.Context as the first argument across the board?

I don't feel strongly. It's easy to add context.TODO() if you don't care about contexts in your caller, but I also don't want to trouble people too much by making a breaking change... though it may be a good opportunity for me (and others) to learn gofix.

(Added assignees for feedback)

Metadata

Metadata

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions