You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For async Task methods (those without a generic return type) the result passed back to Javascript is effectively {}. Rather than creating an unnecessary object as the method didn't return a result I'm changing the behaviour to return null instead.
Technically this is a breaking change as it changes the behaviour, expecected impact on users is extremely low.
publicasyncTaskWaitBeforeReturnAsync(intmilliseconds){awaitTask.Delay(milliseconds);Debug.WriteLine("Delayed in ms:"+milliseconds);}
Technically the Task returns VoidTaskResult which doesn't have any properties.
The text was updated successfully, but these errors were encountered:
For
async Task
methods (those without a generic return type) the result passed back toJavascript
is effectively{}
. Rather than creating an unnecessary object as the method didn't return a result I'm changing the behaviour to returnnull
instead.Technically this is a breaking change as it changes the behaviour, expecected impact on users is extremely low.
Technically the
Task
returns VoidTaskResult which doesn't have any properties.The text was updated successfully, but these errors were encountered: