Skip to content

Throttling library that helps to limit tasks by a period of time.

Notifications You must be signed in to change notification settings

orshe4/Throttling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Throttling

Throttling is a simple library that helps to limit tasks by a period of time.

NuGet version (Throttling)

Give a Star! ⭐

If you like or are using this project please give it a star. Thanks!

Usage

	var taskLimit = 30;	
	var limitingPeriodInMilliseconds = 1000;
        Throttled throttled = new Throttled(taskLimit, limitingPeriodInMilliseconds);
	await throttled.Run(() => {
		//Some task that should be limited...
		return Task.CompletedTask;		
	});

About

Throttling library that helps to limit tasks by a period of time.

Resources

Stars

Watchers

Forks

Languages