2022年9月28日星期三

await future timeout

 final result = await Future.value(42).timeout(const Duration(seconds: 3));

沒有留言:

發佈留言