C# 클래스 FASTER.core.AsyncCountDown

Offers reactivity about when a counter reaches zero
상속: IEnumerable
파일 보기 프로젝트 열기: microsoft/FASTER

공개 메소드들

메소드 설명
Add ( ) : void

Increments the counter by 1

AsyncCountDown ( ) : System.Runtime.CompilerServices
Remove ( ) : void

Decrements the counter by 1

WaitUntilEmptyAsync ( CancellationToken cancellationToken ) : ValueTask

Provides a way to execute a continuation when the counter reaches zero

비공개 메소드들

메소드 설명
GetOrCreateTaskCompletionSource ( TaskCompletionSource &tcsOut ) : bool
TryCompleteAwaitingTask ( ) : void

메소드 상세

Add() 공개 메소드

Increments the counter by 1
public Add ( ) : void
리턴 void

AsyncCountDown() 공개 메소드

public AsyncCountDown ( ) : System.Runtime.CompilerServices
리턴 System.Runtime.CompilerServices

Remove() 공개 메소드

Decrements the counter by 1
public Remove ( ) : void
리턴 void

WaitUntilEmptyAsync() 공개 메소드

Provides a way to execute a continuation when the counter reaches zero
public WaitUntilEmptyAsync ( CancellationToken cancellationToken ) : ValueTask
cancellationToken CancellationToken
리턴 ValueTask