Promises in Class Diagramm
<p>iam using the programming language <code>typescript</code> with <code>nodejs</code>.
Well i just want to know how to deal with promises in a class diagramm.
I got much interfaces with async method only (returning promises).</p>

<p>example of the interface:</p>

<pre><code>interface Connection{
    obtainStatus(): Promise&lt;Status&gt;;
    ...
}
</code></pre>

<p>Whats the best practice to deal with promises in a class diagramm?
Should I simple write <code>Promise&lt;...&gt;</code> everywhere?</p>