Skip to content

promise.then(reply) not working #44

@hesxenon

Description

@hesxenon

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions