Il2CppAssemblyUnhollower icon indicating copy to clipboard operation
Il2CppAssemblyUnhollower copied to clipboard

Async usage of Il2CppSystem.Threading.Tasks.Task<TResult>? Is it possible?

Open IMB11 opened this issue 3 years ago • 1 comments

Self explanatory, is it possible to in some way do await on an il2cpp async method?

IMB11 avatar Dec 27 '21 21:12 IMB11

If you really want to use await I think it is possible to manually write a IAsyncStateMachine for your method that calls await On https://sharplab.io/ set right to release and write a dummy async method on the left to see what the compiler will generate

Xgames123 avatar Aug 18 '22 17:08 Xgames123