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
Показать файл Открыть проект

Открытые методы

Метод Описание
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