Skip to content

require('toobusy').maxLag(10) does not return a function #51

@arnaudchenyensu

Description

@arnaudchenyensu

When using:

var toobusy = require('toobusy').maxLag(10);

toobusy is not a function. The right way seems to be:

var toobusy = require('toobusy');
toobusy.maxLag(10)

Therefore, the README is misleading IMO.

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