String longMehtod() async{
await longProcess()
return ok;
}
Future<String> a = longMehtod()
//add some code to block the process to wait Future complete and I can get the value of a
我可以阻止该过程,并确保必须在不使用await / async的情况下打印该值吗?
或者在Rxjava中是否有诸如blockingget之类的方法?