C# Class Google.Api.Gax.SystemScheduler

Singleton implementation of IScheduler which uses Task.Delay(TimeSpan) and Task.Run(Action) internally.
Inheritance: IScheduler
Exibir arquivo Open project: googleapis/gax-dotnet

Public Methods

Method Description
Delay ( System.TimeSpan timeSpan ) : Task
Sleep ( System.TimeSpan timeSpan ) : void

Private Methods

Method Description
SystemScheduler ( ) : System

Method Details

Delay() public method

public Delay ( System.TimeSpan timeSpan ) : Task
timeSpan System.TimeSpan
return Task

Sleep() public method

public Sleep ( System.TimeSpan timeSpan ) : void
timeSpan System.TimeSpan
return void