Skip to content

Investigate supporting Promises and Callbacks #322

Open
@abmusse

Description

@abmusse

...

Lingering questions:

...

  • I see that everything is returning callback functions, and I have emulated that behavior. It is possible to have functions use callbacks or Promises, similar to how I do in the odbc package. Just check to see if a callback was passed as the final parameter, and if not, go to a Promise workflow. This would ensure API stability with anyone currently using the package, but would also allow developers to use the more modern Promise syntax.

Originally posted by @markdirish in #151 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    keep-openExempts stale action from auto closing the issue/pr.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions