Unosquare
    Show / Hide Table of Contents

    Enum DelayProvider.DelayStrategy

    Enumerates the different ways of providing delays.

    Namespace: Swan.Threading
    Syntax
    public enum DelayStrategy

    Fields

    Name Description
    TaskDelay

    Using the Task.Delay(1).Wait mechanism.

    ThreadPool

    Using a wait event that completes in a background ThreadPool thread.

    ThreadSleep

    Using the Thread.Sleep(15) mechanism.

    Comments

    Back to top Copyright © 2017-2019 Unosquare