DispatcherExtensions.DelayAsync

Dispatcher.Delay Extension method that delay executes an action. This version awaits both the delay and the synchonized action

public static Task DelayAsync(Dispatcher disp,
	int delayMs,
	Action action,
	DispatcherPriority priority)

Parameters

disp
The Dispatcher instance

delayMs
milliseconds to delay before executing

action
Single parm action to perform ; (arg) =>

priority
optional Dispatcher priority

Overloads: