f / f/omelette

promise.then(reply) not working

Open
#44 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
CoffeeScript
Stars
1.4k
Forks
40
PR merge metrics
No merged PRs in 30d

Description

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

```javascript
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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.