rokucommunity / promises

Promise library for roku
MIT License
7 stars 4 forks source link

Demo project with working examples of using promises library. #6

Closed CyMessmerWBD closed 8 months ago

CyMessmerWBD commented 1 year ago

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().

TwitchBronBron commented 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.

CyMessmerWBD commented 8 months ago

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.

TwitchBronBron commented 8 months ago

Oh, okay cool!