C# Class DotNetWorkQueue.Queue.WaitForDelegate

Waits for an action to complete
ファイルを表示 Open project: blehnen/DotNetWorkQueue Class Usage Examples

Public Methods

Method Description
Wait ( Func action ) : bool

Waits for an action to complete

Wait ( Func action, System.TimeSpan timeout ) : bool

Waits for an action to complete

Method Details

Wait() public static method

Waits for an action to complete
public static Wait ( Func action ) : bool
action Func The action.
return bool

Wait() public static method

Waits for an action to complete
public static Wait ( Func action, System.TimeSpan timeout ) : bool
action Func The action.
timeout System.TimeSpan The timeout.
return bool