-
Notifications
You must be signed in to change notification settings - Fork 625
Closed
Description
Is it possible to use a promise-library, such as Bluebird, to promisify gm instance-methods?
gm(path)
.identifyAsync(...)
.writeAsync(...)
.catch(...);I have tried using bluebird.promisifyAll, like I usually do:
var gm = Promise.promisifyAll(require('gm'));
// and/or
Promise.promisifyAll(gm.prototype);But the async methods doesn't seem to stick.
Any suggestions of what I might be doing wrong?
Many thanks
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels