in reply to Re: Making a Promise
in thread Making a Promise
The snippet wasn't working due to an unrelated documentation error -- the constructor for a Promises::Deferred object should have been deferred, not deferred->new. Doh.
I've implemented a wrapper for the synchronous code similar to your code, and now it's all working as anticipated. Thank you for the help!
|
|---|