Skip to content

use context.Context for timing out operations #362

Description

@jakecoffman

Currently there's no way to set a timeout for an operation using this library. Generally this is done in Go using the context package: https://blog.golang.org/context

In a fork I've begun adding context everywhere that needs it. If you are interested in this change upstream let me know and I can put a PR up when it's done, otherwise I'll just use the fork since I need the timeouts.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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