C# 클래스 SolidworksAddinFramework.CooperativeTask

Helper methods to implement cooperative tasks using coroutines (https://en.wikipedia.org/wiki/Coroutine)
파일 보기 프로젝트 열기: Weingartner/SolidworksAddinFramework

공개 메소드들

메소드 설명
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.

메소드 상세

Yield() 공개 정적인 메소드

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
리턴 Task