Class: AsyncOr

AsyncOr(…children)

new AsyncOr(…children)

The AsyncOr class takes more than one input and asynchronously computes the chained logical or
Parameters:
Name Type Attributes Description
children function | async-function | AsyncOr | AsyncAnd | AsyncNot <repeatable>
Operands can either be functions which return a value to be evaluated or a nested logic operator
Source:

Extends

Methods

(async, package) compute()

Utility function which computes the logical result of the operators children
Inherited From:
Source:

(package) getPromises()

Utility function which returns the list of promises for the operators children
Inherited From:
Source:

(async) operand()

Utility function which defines the behaviour of the operand
Source: