variants

The variants in the ExecutionState

This feature is experimental!

This API is still experimental, so it may change or be removed in future versions. You should not rely on it for production applications.

Signature

Array Variant

Documentation

The variants in the ExecutionState

Properties

Variant

0: Pending()

The state of a future that's still not resolved.

Experimental
1: Cancelled()

The state of a future that has been cancelled.

Experimental
2: Resolved(value)

The state of a future that has been successfully resolved with a value.

Experimental
3: Rejected(reason)

The state of a future that has been resolved with a failure.

Experimental

(Uncategorised)

concat()
Inherited
constructor()
Inherited
copyWithin()
Inherited
entries()
Inherited
every()
Inherited
fill()
Inherited
filter()
Inherited
find()
Inherited
findIndex()
Inherited
forEach()
Inherited
includes()
Inherited
indexOf()
Inherited
join()
Inherited
keys()
Inherited
lastIndexOf()
Inherited

A Number.

Experimental
map()
Inherited
pop()
Inherited
push()
Inherited
reduce()
Inherited
reduceRight()
Inherited
reverse()
Inherited
shift()
Inherited
slice()
Inherited
some()
Inherited
sort()
Inherited
splice()
Inherited
toString()
Inherited
unshift()
Inherited

Source Code

Defined in source/adt/union/union.js at line 194, column 35
values(variants)
Stability
experimental
Licence
MIT
Authors
Copyright
(c) 2013-2017 Quildreen Motta, and CONTRIBUTORS
Authors
  • Quildreen Motta
Maintainers
  • Quildreen Motta <queen@robotlolita.me> (http://robotlolita.me/)