omelette icon indicating copy to clipboard operation
omelette copied to clipboard

promise.then(reply) not working

Open hesxenon opened this issue 5 years ago • 0 comments

So I've thought I should be able to do something like the following

omelette`bin ${({reply}) => Promise.resolve(["a","b"]).then(reply)`

but for some reason this doesn't work, can you help me? Replying immediately works, returning the options array also works. But promises don't work in this way, even though it seems to be the exact same usage as in the readme.

hesxenon avatar Sep 20 '20 15:09 hesxenon