Hello,
I would like to execute a request that fetches data from a web service and use in state. this service is an async task.
Hello,
I would like to execute a request that fetches data from a web service and use in state. this service is an async task.
As a general point most methods within the VAF are expected to execute synchronously. Attempts to use the async keyword, for example, or to access the vault from other threads will fail.
You can call async methods but you will need to use the GetAwaiter().GetResult() approach within your VAF code to effectively convert them to be blocking.
Thank you
© 2024 M-Files, All Rights Reserved.