Skip to content

Commit

Permalink
fix: Correcly await async RunOnUIThread calls
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinZikmund committed Oct 5, 2024
1 parent 1eb1647 commit 7866edc
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ protected static Task RunOnUIThread(Action action)
return TestServices.RunOnUIThread(action);
}

protected static Task RunOnUIThread(Func<Task> action)
{
return TestServices.RunOnUIThread(action);
}

protected static void VERIFY_IS_TRUE(bool value, string message = null)
{
TestServices.VERIFY_IS_TRUE(value, message);
Expand Down

0 comments on commit 7866edc

Please sign in to comment.