flutter

<asynchronous suspension> in stacktrace output in flutter


I use the Log package for logging which also outputs the stacktrace.

Between my log message I see <asynchronous suspension> a lot of times. Can someone tell me what it means?


Solution

  • <asynchronous suspension> is not an indication of a problem, it just indicates that code execution is not synchronous code executed line-by-line, but instead a callback from a completed Future started at some position in the callstack