C# 클래스 Ensage.Common.Threading.Await

Await Helpers.
파일 보기 프로젝트 열기: EnsageSharp/Ensage.Common

공개 메소드들

메소드 설명
Block ( string key, Func taskFactory ) : void
Delay ( int time, CancellationToken token = default(CancellationToken) ) : Task

Awaits the larger of two or Game.Ping

메소드 상세

Block() 공개 정적인 메소드

public static Block ( string key, Func taskFactory ) : void
key string
taskFactory Func
리턴 void

Delay() 공개 정적인 메소드

Awaits the larger of two or Game.Ping
public static Delay ( int time, CancellationToken token = default(CancellationToken) ) : Task
time int
token System.Threading.CancellationToken
리턴 Task