Skip to content
This repository was archived by the owner on Jul 25, 2026. It is now read-only.
This repository was archived by the owner on Jul 25, 2026. It is now read-only.

Use promises instead of callbacks  #15

Description

@danrr

...with a view to move to async/await in the near future.

Currently the template code is making heavy use of callback as is most of the oc ecosystem. Since this is a new project, I'm thinking it would be a good opportunity to start moving to Promises (and eventually async/await when support for node <8 isn't required anymore or through Babel). The callback APIs of the registry may be an issue but it may be possible to migrate this project with no changes on the registry side to start.

@nickbalestra and I had a quick chat about this, not sure who else to include

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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