Closed CyMessmerWBD closed 8 months ago
Oh, I'm so sorry, I totally forgot about this PR (I'm working on too many things at the same time). I'm still open to adding this demo to the repo if you're still interested? In a recent PR we made a ./demos
folder (that I just noticed was named incorrectly). If you move this stuff into that folder, I'm happy to merge this as-is.
It's quite all right, I'm back in the land of Roku and as I looked this one over I wasn't crazy about it. I'm working on a better one that I'll try to have ready in a week or so.
Oh, okay cool!
Simple Demo project showing how to use promises, with chaining, and parallel examples.
Main will kick off all the examples while demo.bs is where the examples are. There is also an initResult class which is used as a callback that can be passed in with context and called provide feedback from promises.resolve() or reject().