Closed jeffreycahyono closed 3 years ago
This is the same thing as the now built-in NodeJS reqiure('utils').promisify
.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Apologies if the issue could not be resolved. FeathersJS ecosystem modules are community maintained so there may be a chance that there isn't anybody available to address the issue at the moment. For other ways to get help see here.
I'm using nedb service and want to add custom methods for example adding clearAll method like this:
It would be helpfull if the
nfcall
function in util.js also exported in final lib so that the user of this library can use it to add another custom function to nedb model.https://github.com/feathersjs-ecosystem/feathers-nedb/blob/cd687b046bdf9eb992cf66f0efd8c321f87f4697/lib/utils.js#L13