C# Class SpicyPixel.Threading.YieldForSeconds

A FiberInstruction to pause execution of a fiber for the specified duration.
Inheritance: FiberInstruction
Show file Open project: spicypixel/concurrency-kit-cs Class Usage Examples

Public Methods

Method Description
YieldForSeconds ( float seconds ) : System

Initializes a new instance of the YieldForSeconds class.

Method Details

YieldForSeconds() public method

Initializes a new instance of the YieldForSeconds class.
public YieldForSeconds ( float seconds ) : System
seconds float /// The seconds to pause execution for. ///
return System