C# Class ALE.Promise

Afficher le fichier Open project: blesh/ALE

Protected Properties

Свойство Type Description
ErrorCallbacks List>
ThenCallbacks List>

Méthodes publiques

Méthode Description
Error ( Action callback ) : Promise
Then ( Action callback ) : Promise
To ( Action act ) : Promise
When ( ) : Promise

Private Methods

Méthode Description
PendError ( string reason ) : void
PendThen ( object result ) : void
Promise ( Action act ) : System

Method Details

Error() public méthode

public Error ( Action callback ) : Promise
callback Action
Résultat Promise

Then() public méthode

public Then ( Action callback ) : Promise
callback Action
Résultat Promise

To() public static méthode

public static To ( Action act ) : Promise
act Action
Résultat Promise

When() public static méthode

public static When ( ) : Promise
Résultat Promise

Property Details

ErrorCallbacks protected_oe property

protected List> ErrorCallbacks
Résultat List>

ThenCallbacks protected_oe property

protected List> ThenCallbacks
Résultat List>