Bot Framework V4 - TypeError: Cannot perform 'get' on a proxy that has been revoked

前端 未结 3 793
轮回少年
轮回少年 2021-01-19 02:08

I am trying to make a rest query against a database that stores knowledge articles for users and returns an array of results based on what the user has searched for. Wheneve

3条回答
  •  余生分开走
    2021-01-19 02:16

    I'm going to put this here only because it's the first result that pops up when searching, although it doesn't directly relate to this issue.

    There's a very easy way to use setTimeout() and avoid this error:

    await new Promise(resolve => setTimeout(() => resolve(
        turnContext.sendActivity('I was sent 5 seconds later')
    ), 5000));
    

提交回复
热议问题