Skip to content
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!";
}
Clone this wiki locally