You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-**questions**(Array) containing [Question Object](#question) (using the [reactive interface](#reactive-interface), you can also pass a `Rx.Observable` instance)
120
+
-**questions**a [Question Object](#question), an array or map of questions, or an RxJS-compatible Observable of questions
121
121
-**answers** (object) contains values of already answered questions. Inquirer will avoid asking answers already provided here. Defaults `{}`.
122
122
- returns a **Promise**
123
123
@@ -328,9 +328,7 @@ The `postfix` property is useful if you want to provide an extension.
328
328
329
329
## Reactive interface
330
330
331
-
Internally, Inquirer uses the [JS reactive extension](https://github.com/ReactiveX/rxjs) to handle events and async flows.
332
-
333
-
This mean you can take advantage of this feature to provide more advanced flows. For example, you can dynamically add questions to be asked:
331
+
`inquirer.prompt()` accepts an RxJS-compatible Observable of questions. This supports dynamic flows where questions are emitted over time:
0 commit comments