Skip to content

Never ending queue #1

Open
Open
@markhicken

Description

@markhicken

I am running into a sporadic never-ending queue using fetch as my function. The readme says "This can generally be addressed by adding a timeout to the wrapped function."

What do you think about adding an optional timeout to the instantiating function?

Something like this...
const fetchThrottled = throttle(fetch, requestLimit, timeLimit, optionalTimeout);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions