C# Class Dbot.Utility.PeriodicTask

Mostrar archivo Open project: destinygg/bot

Public Methods

Method Description
Run ( System.Action action, System.TimeSpan period ) : Task
Run ( System.Action action, System.TimeSpan period, CancellationToken cancellationToken ) : Task

Method Details

Run() public static method

public static Run ( System.Action action, System.TimeSpan period ) : Task
action System.Action
period System.TimeSpan
return Task

Run() public static method

public static Run ( System.Action action, System.TimeSpan period, CancellationToken cancellationToken ) : Task
action System.Action
period System.TimeSpan
cancellationToken System.Threading.CancellationToken
return Task