Nevron.Nov Namespace / NPromise<TResult> Class


In This Topic
    NPromise<TResult> Class Methods
    In This Topic

    For a list of all members of this type, see NPromise<TResult> members.

    Public Methods
     NameDescription
    Public Methodstatic (Shared in Visual Basic)Creates a promise that casts the objects array result of the specified promise, to an array of TResult objects type.  
    Public Methodstatic (Shared in Visual Basic)Creates a promise that casts the object result of the specified promise, to the TResult type.  
    Public MethodAdds a rejected handler for this promise.  
    Public MethodAdds a rejected handler for this promise and returns an undefined promise  
    Public Methodstatic (Shared in Visual Basic)Creates a safe promise with the specified body  
    Public Methodstatic (Shared in Visual Basic)Creates a fulfilled promise with the given result.  
    Public Methodstatic (Shared in Visual Basic)Creates a rejected promise with the given exception.  
    Public MethodAdds a handler which is executed when the promise is either fulfilled or rejected  
    Public MethodAdds a handler which is executed when the promise is either fulfilled or rejected  
    Public MethodOverloaded. Fulfills the promise with specified result. Automatically decides whether to call the promise handlers immediately or asyncrhonously.  
    Public MethodGets the promise exception, if it is rejected.  
    Public MethodGets the promise result, if it is fullfilled.  
    Public MethodOverloaded. Rejects the promise with the specified exception.  
    Public MethodOverloaded. Adds a succeeded handler for this promise  
    Public MethodOverloaded. Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled.  
    Public MethodOverloaded. Adds succeeded and failed handlers for this promise and returns a new promise, which is fulfilled when this promise is fulfilled.  
    Top
    See Also