C# Class SolidworksAddinFramework.CooperativeTask

Helper methods to implement cooperative tasks using coroutines (https://en.wikipedia.org/wiki/Coroutine)
Afficher le fichier Open project: Weingartner/SolidworksAddinFramework

Méthodes publiques

Méthode Description
Yield ( CancellationToken ct ) : Task

Allows an algorithm to specify a location where it may be paused or cancelled to allow other tasks to run or continue.

Method Details

Yield() public static méthode

Allows an algorithm to specify a location where it may be paused or cancelled to allow other tasks to run or continue.
public static Yield ( CancellationToken ct ) : Task
ct System.Threading.CancellationToken
Résultat Task