C# 클래스 WinRTXamlToolkit.Tools.EventThrottlerMultiThreaded

Defines an object that can throttle tasks in such a way that if a task is already being processed when new tasks are queued - only the last one of these tasks will be executed when the currently running task is done and the other ones will be skipped. Very useful in many UI scenarios.
Written by Servy as an answer to this question on Stack Overflow: http://stackoverflow.com/questions/20081996/is-there-such-a-synchronization-tool-as-single-item-sized-async-task-buffer
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
Run ( Func action ) : void

Runs the specified async action through the throttle.

메소드 상세

Run() 공개 메소드

Runs the specified async action through the throttle.
public Run ( Func action ) : void
action Func The async action.
리턴 void