johntayl/pdffiller — pull request #1 by Rhaseven7h (2014-04-08 21:33:31+00:00)
Title: Callback after PDF creation

Hello,

As I was using your solution, I found that it works ok in command line, since you don't need to have the PDF ready before you return from the call to fillpdf, however when using online in a web page, you have to know when you're done in order to read and produce the PDF out to the client.

I added a callback paramater to receive a call back to specified function, and then return the created PDF correctly when it is completed.

Hope this is useful and you would consider it.

Regards,

Gabriel Medina.