C# Class AccidentalFish.ApplicationSupport.Core.Threading.AsyncPump

Provides a pump that supports running asynchronous methods on the current thread as outlined in the MSDN article here https://blogs.msdn.microsoft.com/pfxteam/2012/01/20/await-synchronizationcontext-and-console-apps/ (source from that article)
Afficher le fichier Open project: JamesRandall/AccidentalFish.ApplicationSupport

Méthodes publiques

Méthode Description
Run ( Func func ) : void

Runs the specified asynchronous function.

Method Details

Run() public static méthode

Runs the specified asynchronous function.
public static Run ( Func func ) : void
func Func The asynchronous function to execute.
Résultat void