Skip to content

async method output in typedef  #41

@4r7d3c0

Description

@4r7d3c0

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>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions