Open Thomasvdam opened 7 years ago
Rather than having to wait on the init() call after constructing a new instance, it would be nice to have the option to use an async factory method.
Example:
const cutter = await createNewCutter('image_url'); cutter.cut(10, 10);
Will look into it, ofcourse pull requests are welcome ;)
Rather than having to wait on the init() call after constructing a new instance, it would be nice to have the option to use an async factory method.
Example: