Meta-issue for discussion of the proposal to make async
functions start synchronously
#30345
Labels
area-language
Dart language related items (some items might be better tracked at github.com/dart-lang/language).
language-discussion
This issue is to provide a forum for community discussion and feedback related to the proposal to make
async
functions start their execution synchronously.Currently invoking an
async
function delays running the function body until a later microtask. This has been a source of bugs when converting synchronous functions to being async. This change would make the async function run until the first asynchronous operation (await, await-for) before returning the future.This does not affect
async*
functions.This entry will be updated when a proposal is available.
cc @munificent @eernstg @floitschG @lrhn
The text was updated successfully, but these errors were encountered: