Skip to content

Extract parseWaitTime method to shared utility #1973

Open
@bitwiseman

Description

@bitwiseman

GitHubAbuseLimitHander and GitHubRateLimitHandler both implement parseWaitTime. Most of the code is the same and could also be useful to consumers of this library.

Extract parseWaitTime to a utility class and consider exposing as public.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions