Files uploaded with the Files API may not be processed immediately and need to be checked by polling periodically with getFile and checking the state until it has turned to ACTIVE. We should add a simple implementation of this (probably poll every 10 seconds using Promise/setTimeout) to the samples folder.
Description of the bug:
Files uploaded with the Files API may not be processed immediately and need to be checked by polling periodically with
getFile
and checking thestate
until it has turned toACTIVE
. We should add a simple implementation of this (probably poll every 10 seconds using Promise/setTimeout) to the samples folder.Actual vs expected behavior:
No response
Any other information you'd like to share?
No response