mechanic icon indicating copy to clipboard operation
mechanic copied to clipboard

Function hooks

Open puria opened this issue 2 years ago • 2 comments

Let me start with "WHAT A SENSATIONAL PIECE OF SOFTWARE 😍🚀🎉"

Is your feature request related to something something in Mechanic? Please describe.

I would really love to have hooks before and after the download() and/or done()

Is your feature request related to a problem? Please describe. What I want to achieve is to store the assets that are created by our consumers into a shared folder or something, to have track, to let them, reuse or get inspiration... actually an archive of the created visuals with mechanic (this could also be a huge feature of mechanic someday)

Describe the solution you'd like I would rather love to add some pre/post hooks functions defined developers, into the index.js easily, that are executed at some point (done? download?)

Describe alternatives you've considered fork the project, NAH, I didn't really considered that... I do prefer having that maintained by the core devs

Additional context I love you all <3

puria avatar Nov 20 '22 15:11 puria