eclipse-thingweb / eclipse-thingweb/node-wot

Use `promisify` or `new Promise` pattern.

Open
#580 6 comments 0 reactions 0 assignees View on GitHub
enhancement question
Dominant language
TypeScript
Stars
192
Forks
100
Avg merge
3d 2h
Merged PRs (30d)
6

Description

In some tests, we use `promisify` where the other places we use the `new Promise` pattern. Personally, I found `promisify` less verbose and more explicit, but we have to choose a consistent pattern for the codebase.

_Originally posted by @relu91 in https://github.com/eclipse/thingweb.node-wot/pull/579#discussion_r728727283_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.