C# Class AsyncDolls.YourPump.PushMessages

Inheritance: IPushMessages
Afficher le fichier Open project: danielmarbach/async-dolls Class Usage Examples

Méthodes publiques

Méthode Description
PushMessages ( ConcurrentQueue messages, int maxConcurrency = 100 ) : System
StartAsync ( Task>.Func onMessage ) : Task
StopAsync ( ) : Task

Method Details

PushMessages() public méthode

public PushMessages ( ConcurrentQueue messages, int maxConcurrency = 100 ) : System
messages ConcurrentQueue
maxConcurrency int
Résultat System

StartAsync() public méthode

public StartAsync ( Task>.Func onMessage ) : Task
onMessage Task>.Func
Résultat Task

StopAsync() public méthode

public StopAsync ( ) : Task
Résultat Task