-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Daniel S edited this page Sep 14, 2019
·
1 revision
Welcome to the coroutines-for-wpf wiki!
Example code:
private void OnClick()
{
Executor.StartCoroutine(GreetTheWorld());
}
private IEnumerator GreetTheWorld()
{
TextBlock1.Text = "Hello ...";
yield return new WaitForSeconds(2.0);
TextBlock1.Text = "Hello World!";
}