Nevron Open Vision Documentation
Nevron.Nov Namespace / NAggregatePromise Class / SequencialTry Method


In This Topic
    SequencialTry Method
    In This Topic
    Sequencially invokes the specified functions and waits for their result. The returned promise succeeds when the first sequencial promise succeeds, and fails if no of the promises succeeds.
    Syntax
    'Declaration
     
    
    Public Shared Function SequencialTry( _
       ByVal ParamArray funcs() As Nevron.Nov.FunctionResult(Of NPromise(Of NUndefined)) _
    ) As NPromise(Of NUndefined)
    'Usage
     
    
    Dim funcs() As Nevron.Nov.FunctionResult(Of NPromise(Of NUndefined))
    Dim value As NPromise(Of NUndefined)
     
    value = NAggregatePromise.SequencialTry(funcs)
    public static NPromise<NUndefined> SequencialTry( 
       params Nevron.Nov.FunctionResult<NPromise<NUndefined>>[] funcs
    )

    Parameters

    funcs
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also