Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

async method output in typedef #41

Open
4r7d3c0 opened this issue Feb 22, 2020 · 0 comments
Open

async method output in typedef #41

4r7d3c0 opened this issue Feb 22, 2020 · 0 comments

Comments

@4r7d3c0
Copy link

4r7d3c0 commented Feb 22, 2020

no promise is printed right now

<method async name="askSingle" return="string">
    <arg type="(string|!_reloquent.Question)" name="question">
      The question to present to the user.
    </arg>
    <arg type="number" name="timeout" opt>
      How long to wait before rejecting the promise. Waits forever by default.
    </arg>
    Ask user a question via the CLI. Returns the answer to the question. 
    If a timeout is passed, the promise will expire after the specified 
    number of milliseconds if the answer was not given.
  </method>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant