Skip to content
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
This repository was archived by the owner on Dec 18, 2020. It is now read-only.

Authenticator methods should be async #7

@nexdrew

Description

@nexdrew

Calling callback synchronously could potentially cause problems. Better to stick with standard async contract by wrapping the callback execution in something like this:

process.nextTick(function () {
  return cb(errors.error501())
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions