How to call async method from node console? : <p>I have a Bot class with async printInfo method:</p>

<pre><code>class TradeBot {
    async printInfo() { //..... }
}
</code></pre>

<p>If I start 'node', create the object from the console and call the method:</p>

<pre><code>&gt;const createBot = require ('./BotFactory');
&gt;const bot = createBot();
&gt;bot.printInfo();
</code></pre>

<p>there is an annoying extra information appears in the console:</p>

<pre><code>Promise {
  &lt;pending&gt;,
  domain:
 Domain {
 domain: null,
 _events: { error: [Function: debugDomainError] },
 _eventsCount: 1,
 _maxListeners: undefined,
 members: [] } }
</code></pre>

<p>is there a way to suppress it?</p>

<p>'await' keyword produces an error here.</p>
