Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

<asynchronous suspension> in stacktrace output in flutter

Tags:

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?

like image 795
MarcS82 Avatar asked Mar 12 '20 17:03

MarcS82


1 Answers

<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

like image 172
Abiud Orina Avatar answered Nov 18 '22 23:11

Abiud Orina