asyncgives you aFuturewhileasync*gives you aStream- You add the
asynckeyword to a function that does some work that might take a long time. It returns the result wrapped in aFuture. - You add the
async*keyword to make a function that returns a bunch of future values one at a time. The results are wrapped in a Stream. async*will always returns aStreamand offer some syntax sugar to emit a value throughyieldkeyword.