Open jameswilsterman opened 4 years ago
Hello, any news on this request?
I am experiencing the same issue, the lambda function times out so I cannot capture the GameOn time out.
Even a generic timeout would be fine by me, for instance it could be added to the constructor
const defaultClient = new sdk.SkillsGameOnApiClient( { timeout: 3000 } );
Hi @mblaya @jameswilsterman At this point, we are not prioritizing new functionality. Can you help us understand the impact this might have to your products/workflow?
Thanks.
Hello, thanks for your response. Impact on my alexa skills is that players see the game abruptly stopped as the timeout exception cannot be captured. It happened 62 times in the last 4 days, causing bad customer experience and angry skill reviews. Number of unique user per week using the skill is around 4000.
Feature Request
I would like to be able to set a timeout for calls using the SDK
Current SDK Version
0.2.0
Current Behavior
No way to timeout client calls such as client.initializeNewPlayer() or client.enterTournamentForPlayer()
The lambda function ends up timing out before a response is received
Desired Behavior
Create a param called "timeout" (ms) to pass to the client.
eg. client.enterTournamentForPlayer({ tournamentId:,
player: ,
timeout: 2000
})