get the return value from async function without calling it again

前端 未结 0 1203
误落风尘
误落风尘 2020-12-03 08:44

Here is the code:

  const onStartRecord = async () => {
    try {
      const path = Platform.select({
        ios: `file:///audio/${filenameGenerator}.m4a         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题