public static enum JSFunction.AsyncGeneratorState extends Enum<JSFunction.AsyncGeneratorState>
Enum Constant and Description |
---|
AwaitingReturn |
Completed |
Executing |
SuspendedStart |
SuspendedYield |
Modifier and Type | Method and Description |
---|---|
static JSFunction.AsyncGeneratorState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSFunction.AsyncGeneratorState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSFunction.AsyncGeneratorState SuspendedStart
public static final JSFunction.AsyncGeneratorState SuspendedYield
public static final JSFunction.AsyncGeneratorState Executing
public static final JSFunction.AsyncGeneratorState AwaitingReturn
public static final JSFunction.AsyncGeneratorState Completed
public static JSFunction.AsyncGeneratorState[] values()
public static JSFunction.AsyncGeneratorState valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null