Class RateLimit<T>
Assembly: Coree.NETStandard.dll
Syntax
public class RateLimit<T>
Type Parameters
Constructors
|
Edit this page
View Source
RateLimit(int, TimeSpan)
Declaration
public RateLimit(int maxOperations, TimeSpan period)
Parameters
Type |
Name |
Description |
int |
maxOperations |
|
TimeSpan |
period |
|
Methods
|
Edit this page
View Source
Dispose()
Declaration
|
Edit this page
View Source
EnqueueTask(Func<Task<T>>)
Declaration
public Task<T> EnqueueTask(Func<Task<T>> taskFunc)
Parameters
Type |
Name |
Description |
Func<Task<T>> |
taskFunc |
|
Returns