An async function or method must have a valid awaitable return type



While trying to create an async function with a return type, i encounter this error message :-

"An async function or method must have a valid awaitable return type"

this simply means that we need to have a function with the following signature which receive a Promise 





That's it ! :)




Comments

Popular posts from this blog

The specified initialization vector (IV) does not match the block size for this algorithm